1.0.4 • Published 5 years ago
crypto-salt-hash v1.0.4
CRYPTO SALT HASH
Installation
npm i crypto-salt-hash
Example
let cyptoSaltHash = require('crypto-salt-hash');
To Create Salt and Hash use below method
saltHashPassword('password', salthLength);
you will get salt
and hash
as an object in response.
To get hash
associated with salt use below method
getsaltHash('password', salt);
you will get salt
and hash
as an object in response.