bcrypt-hash-component
v1.1.0
Published
An easy-to-use module that generates and validates Bcrypt hashes.
Downloads
4
Readme
Overview
An easy-to-use module that generates and validates Bcrypt hashes.
Installation
npm install bcrypt-hash-component --save
Usage
Example
const hash = require('bcrypt-hash-component');
const myEpicPassword = 'letmein';
const hashedPassword = hash.generate(myEpicPassword);
hash.validate(myEpicPassword, hashedPassword); // Returns true
License
This repository is licensed under the MIT License © 2015-2020 Thiradus