Functions
deriveKey
- deriveKey(hash: new () => SerializableHash, password: Uint8Array, salt: Uint8Array, iterations: number, length: number): Uint8Array
Parameters
hash: new () => SerializableHash
password: Uint8Array
salt: Uint8Array
iterations: number
length: number
Returns Uint8Array
Derives key from password with PBKDF2 algorithm using the given hash function in HMAC construction.