// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2 { /// /// Internal interface used for abstracting away the PBKDF2 implementation since the implementation is OS-specific. /// internal interface IPbkdf2Provider { byte[] DeriveKey(string password, byte[] salt, KeyDerivationPrf prf, int iterationCount, int numBytesRequested); } }