Function pbkdf2HmacSha256

  • Derive a key using PBKDF2 and the HMAC SHA256 function as specified in RFC 2898.

    Note, if the provided parameters are valid, this method will never error.

    Parameters

    • parameters: Pbkdf2Parameters

      the PBKDF2 parameters to use

    • sha256Hmac: HmacFunction = hmacSha256

      the SHA256 HMAC implementation to use (defaults to the internal WASM implementation)

    Returns string | Uint8Array

Generated using TypeDoc