Click or drag to resize

CryptoHelperDeriveKeyFromPassword Method

Generates a symmetric encryption key from a password string.

Namespace:  Neon.Cryptography
Assembly:  Neon.Cryptography (in Neon.Cryptography.dll) Version: 2.14.0
Syntax
public static byte[] DeriveKeyFromPassword(
	string password,
	int keySize
)

Parameters

password
Type: SystemString
The input password.
keySize
Type: SystemInt32
The desired key size in bits (this must be less than or equal to 512 and be a factor of 8).

Return Value

Type: Byte
The derived key.
See Also