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