Computes a derived key.
Namespace: CryptSharp.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax
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 derived key, even if the original key is identical.
- iterations
- Type: System Int32
The number of iterations to apply.
- derivedKeyLength
- Type: System Int32
The desired length of the derived key.
Return Value
The derived key.See Also