Click or drag to resize

PBKDF2SHA384(Byte, Byte, Int32) Constructor

Initializes a new instance of the PBKDF2SHA384 class using a password, a salt, and number of iterations to derive the key.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public PBKDF2SHA384(
	byte[] password,
	byte[] salt,
	int iterations
)

Parameters

password  Byte
Byte array representing the password (most likely ASCII-encoded)
salt  Byte
The salt used in the derivation
iterations  Int32
The iteration count and its value should be greater than or equal to 1
Exceptions
ExceptionCondition
ArgumentNullExceptionThe password or the salt is null
ArgumentExceptionThe salt is less then 8 bytes long
ArgumentOutOfRangeExceptionThe number of iterations is less than 1

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also