4.0.3 • Published 5 years ago
the-password v4.0.3
the-password
Password util for the-framework
Installation
$ npm install the-password --save
Usage
'use strict'
const thePassword = require('the-password')
async function tryExample () {
const {generateSalt, generatePassword, digest} = thePassword()
const salt = generateSalt()
const password = generatePassword()
const passwordHash = digest(password, salt)
/* ... */
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.