0.1.0 • Published 11 years ago

password-filter v0.1.0

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

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