Licence
MIT
Version
4.0.3
Deps
1
Size
35 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated
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.