Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Scrypt

Index

Constructors

Properties

Methods

Constructors

constructor

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

Properties

N

N: number

p

p: number

r

r: number

Methods

clean

  • clean(): void

deriveKey

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

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

    Returns Uint8Array

deriveKeyNonBlocking

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

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

    Returns Promise<Uint8Array>

Generated using TypeDoc