npm install password-hash-node
import {create, verify} from 'password-hash-node';
const hash = await create('password', 'SSHA');
const valid = await verify('password', hash);
- PBKDF2/$salt-size/$iterations/$hash-size/$digest-algorithm eg. PBKDF2/24/20000/24/sha256
- SSHA256/$salt-size
- SSHA
- PLAIN
Copyright ⓒ 2016 Viktar Vaŭčkievič