Creates a new PBKDF2 stream.
Namespace: CryptSharp.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax
public Pbkdf2( KeyedHashAlgorithm hmacAlgorithm, byte[] salt, int iterations )
Parameters
- hmacAlgorithm
- Type: System.Security.Cryptography KeyedHashAlgorithm
The HMAC algorithm to use, for example HMACSHA256. Make sure to set Key.
- salt
- Type: System Byte
The salt. A unique salt means a unique PBKDF2 stream, even if the original key is identical.
- iterations
- Type: System Int32
The number of iterations to apply.
See Also