Constructors
constructor
- new Scrypt(N: number, r: number, p: number): Scrypt
Parameters
N: number
r: number
p: number
Methods
deriveKey
- deriveKey(password: Uint8Array, salt: Uint8Array, dkLen: number): Uint8Array
Parameters
password: Uint8Array
salt: Uint8Array
dkLen: number
Returns Uint8Array
deriveKeyNonBlocking
- deriveKeyNonBlocking(password: Uint8Array, salt: Uint8Array, dkLen: number): Promise<Uint8Array>
Parameters
password: Uint8Array
salt: Uint8Array
dkLen: number
Returns Promise<Uint8Array>