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 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Ali Taheri.