@liuhlightning/bcrypt
v0.0.1
Published
bcrypt in full typescript
Downloads
52
Readme
bcrypt
bcrypt for hash and verify password
How to use
npm install --save @liuhlightning/bcrypt
# or
yarn add @liuhlightning/bcrypt
import { hash, verify } from "@liuhlightning/bcrypt";
const passwordHash = hash("your password");
// store the password hash
const isThatYou = verify("input password", passwordHash);