4.0.3 • Published 6 years ago

the-password v4.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

the-password

Build Status npm Version JS Standard

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.

Links

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago