npm.io
0.1.2 • Published 2 years ago

@types/password-hash-and-salt

Licence
MIT
Version
0.1.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/password-hash-and-salt

Summary

This package contains type definitions for password-hash-and-salt (https://github.com/florianheinemann/password-hash-and-salt).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/password-hash-and-salt.

index.d.ts

interface Password {
    hash(cb: (error: string, hash: string) => void): void;
    verifyAgainst(hash: string, cb: (error: string, verified: boolean) => void): void;
}

declare function password(password: string): Password;
declare namespace password {}

export = password;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Ali Taheri.