pbkdf2 password verification plugin for consulate
Just register consulate-pbkdf2
as a plugin with your consulate server and specify a salt:
var consulate = require('consulate')
, pbkdf2 = require('consulate-pbkdf2');
var app = consulate();
app.plugin(pbkdf2({
salt: 'this is my secret salt',
iterations: 64000, // optional
keylen: 64 // optional
}));
$ npm test