password-hash-node

```bash npm install password-hash-node ```

Usage no npm install needed!

<script type="module">
  import passwordHashNode from 'https://cdn.skypack.dev/password-hash-node';
</script>

README

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č