Pbkdf2 Constructor

CryptSharp

Pbkdf2 Constructor CryptSharp
Creates a new PBKDF2 stream.

Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax

public Pbkdf2(
	KeyedHashAlgorithm hmacAlgorithm,
	byte[] salt,
	int iterations
)
Public Sub New ( 
	hmacAlgorithm As KeyedHashAlgorithm,
	salt As Byte(),
	iterations As Integer
)
public:
Pbkdf2(
	KeyedHashAlgorithm^ hmacAlgorithm, 
	array<unsigned char>^ salt, 
	int iterations
)
new : 
        hmacAlgorithm : KeyedHashAlgorithm * 
        salt : byte[] * 
        iterations : int -> Pbkdf2

Parameters

hmacAlgorithm
Type: System.Security.CryptographyKeyedHashAlgorithm
The HMAC algorithm to use, for example HMACSHA256. Make sure to set Key.
salt
Type: SystemByte
The salt. A unique salt means a unique PBKDF2 stream, even if the original key is identical.
iterations
Type: SystemInt32
The number of iterations to apply.
See Also

Reference