Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Scrypt

Index

Constructors

  • new Scrypt(N: number, r: number, p: number): Scrypt

Properties

N: number
p: number
r: number

Methods

  • clean(): void
  • deriveKey(password: Uint8Array, salt: Uint8Array, dkLen: number): Uint8Array
  • Parameters

    • password: Uint8Array
    • salt: Uint8Array
    • dkLen: number

    Returns Uint8Array

  • deriveKeyNonBlocking(password: Uint8Array, salt: Uint8Array, dkLen: number): Promise<Uint8Array>
  • Parameters

    • password: Uint8Array
    • salt: Uint8Array
    • dkLen: number

    Returns Promise<Uint8Array>

Generated using TypeDoc