Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 1.26 KB

README.md

File metadata and controls

38 lines (21 loc) · 1.26 KB

Thiradus Dark Banner

Bcrypt Hash Component

CodeFactor Depfu Downloads MIT License

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