15.4.0 • Published 5 years ago

@the-/password v15.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@the-/password

npm Version

Password util for the-framework

Installation

$ npm install @the-/password --save

Usage

'use strict'

const thePassword = require('@the-/password')

async function tryExample() {
  const { digest, generatePassword, generateSalt } = thePassword()

  const salt = generateSalt()
  const password = generatePassword()

  const passwordHash = digest(password, salt)
  console.log({ password, passwordHash })
  /* ... */
}

tryExample().catch((err) => console.error(err))

API Guide

class

function

License

This software is released under the MIT License.

Links

15.4.0

5 years ago

15.2.0

5 years ago

15.1.4

5 years ago

15.1.3

5 years ago

15.1.2

5 years ago

15.1.0

5 years ago

15.0.3

5 years ago