1.0.0 • Published 7 years ago

password-hash-node v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Getting Started

Install

npm install password-hash-node

Use

const passwordHash = require('password-hash-node');

const hash = await passwordHash.create('password', 'SSHA');

const valid = await passwordHash.verify('password', hash);

Schemas

  • PBKDF2/$salt-size/$iterations/$hash-size/$digest-algorithm eg. PBKDF2/24/20000/24/sha256
  • SSHA256/$salt-size
  • SSHA
  • PLAIN

License

Copyright ⓒ 2016 Viktar Vaŭčkievič