Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 678 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 678 Bytes

consulate-pbkdf2 Build Status

pbkdf2 password verification plugin for consulate

Usage

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
}));

Tests

$ npm test