Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @stablelib/pbkdf2

Index

Functions

Functions

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

    Parameters

    • hash: new () => SerializableHash
        • new (): SerializableHash
        • Returns SerializableHash

    • password: Uint8Array
    • salt: Uint8Array
    • iterations: number
    • length: number

    Returns Uint8Array

Generated using TypeDoc