Click or drag to resize

PBKDF2SHA512(Byte, Byte) Constructor

Initializes a new instance of the PBKDF2SHA512 class using a password and a salt to derive the key.

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

Parameters

password  Byte
Byte array representing the password (most likely ASCII-encoded)
salt  Byte
The salt used in the derivation
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