seneca-pbkdf2-user
v0.1.0
Published
User management plugin for the seneca module that support PBKDF2 encryption for password.
Downloads
7
Readme
seneca-PBKDF2-user
A Seneca plugin for supporting PbkDf2 password encryption.
This module is a plugin for the Seneca framework. It based on seneca-user from Richard Rodger adding the support of PBKDF2 algorithm for password hashing. This plugin is sponsored by nearForm.
It basically overwrite the following two seneca-user command, in order to change the algorithm for password hashing:
- encrypt_password
- verify_password
In order to use it, include it after seneca-user:
seneca.use(require('seneca-user'));
seneca.use(require('seneca-PBKDF2-user'));
Test
cd test
mocha user.test.js --seneca.log.print