1.1.0 • Published 3 years ago

bcrypt-hash-component v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

Thiradus Dark Banner

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