password-filter

0.1.0 • Public • Published

password-filter

Create PBKDF2 hash of the password in plain text

Installation

$ npm install password-filter

Example

var options = {
  salt: 'abcdef',
  iterations: 1000,
  keylen: 16
};

var plainTextPassword = 12345;

filter(plainTextPassword, options, function(err, password){
  //password is 9fb04a7fce25c7f8652135820dddb814
})

License

MIT

/password-filter/

    Package Sidebar

    Install

    npm i password-filter

    Weekly Downloads

    0

    Version

    0.1.0

    License

    BSD

    Last publish

    Collaborators

    • jakubmrozek