Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • export=

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static rounds

rounds: number = 12

Methods

Static compare

  • compare(password: string, hash: string): Promise<boolean>
  • Parameters

    • password: string
    • hash: string

    Returns Promise<boolean>

Static hash

  • hash(password: string): Promise<string>
  • Parameters

    • password: string

    Returns Promise<string>

Generated using TypeDoc