password-helper/README.md
2020-03-06 08:38:14 +01:00

312 B

Password Helper

ensuring secure password storage on the server side

const password_helper = require('@scode/password-helper');

const hash = await password_helper.hash('foo');

await password_helper.verify(hash, 'foo'); // returns true;
await password_helper.verify(hash, 'bar'); // returns false;