Tiny Node.js module to securely hash and compare passwords using pbkdf2 with per password random salt.
To hash a password:
var password = require('./password');
password.hash('p4ssw0rd').then(console.log); // hashed password
Later, to compare it:
var password = require('./password');
password.same('p4ssw0rd', hash).then(console.log); // true or false
Nice