Pbkdf2ComputeSaltedPassword Method

Implements a Pbkdf2 algorthim with a user definded MAC method.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static byte[] ComputeSaltedPassword(
	HmacMethod method,
	byte[] password,
	byte[] salt,
	int iterations,
	int length
)

Parameters

method  HmacMethod
the HMAC method to use.
password  Byte
the password to use
salt  Byte
the salt. Must be at least 64-bit
iterations  Int32
the number of iterations. Must be at least 1000.
length  Int32
the number of bytes to return

Return Value

Byte
A salted password based on the specified length.

See Also