Skip to content

🔒🧱 An easy-to-use module that generates and validates Bcrypt hashes.

License

Notifications You must be signed in to change notification settings

Thiradus/Bcrypt-Hash-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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