Click or drag to resize

PbeScrypt(Int32, Byte, Byte, Int32, Int32, Int32) Method

Derives a key of any length from a password using the SCRYPT algorithm.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static byte[] Scrypt(
	int dkLen,
	byte[] pwdBytes,
	byte[] salt,
	int N,
	int r,
	int p
)

Parameters

dkLen  Int32
Required length of key in bytes
pwdBytes  Byte
Password encoded in byte format
salt  Byte
Salt in byte format
N  Int32
CPU/Memory cost parameter, a number greater than one and a power of 2.
r  Int32
Block size r
p  Int32
Parallelization parameter p

Return Value

Byte
Key in byte[] format
See Also