Pbkdf2 Constructor
Implements a
Pbkdf2 algorthim with a user definded MAC method.
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public Pbkdf2(
HmacMethod method,
byte[] password,
byte[] salt,
int iterations
)
Public Sub New (
method As HmacMethod,
password As Byte(),
salt As Byte(),
iterations As Integer
)
public:
Pbkdf2(
HmacMethod method,
array<unsigned char>^ password,
array<unsigned char>^ salt,
int iterations
)
SnapDB.Security.Pbkdf2 = function(method, password, salt, iterations);
Parameters
- method HmacMethod
- the HMAC method to use.
- password Byte
- the password to use
- salt Byte
- the salt. recommended to be at least 64-bit
- iterations Int32
- the number of iterations. Recommended to be at least 1000