hashify-matchify

1.0.0 • Public • Published

hashify-matchify

Salt and hash passwords using crypto

Install

$ npm i --save hashify-matchify

const { hashify, matchify } = require('hashify-matchify');

Hash

// by default a random salt is used, but a salt may be provided as the 2nd param
const { salt, hash, iterations } = await hashify('password');

Check

const pass = await matchify(hash, salt, iterations, 'password');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i hashify-matchify

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.7 kB

Total Files

5

Last publish

Collaborators

  • zvakanaka