Merge pull request #108 from felixrieseberg/bcrypt-node
Add Windows Support (bcrypt > bcrypt-node)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// Tools for encrypting and decrypting passwords.
|
// Tools for encrypting and decrypting passwords.
|
||||||
// Basically promise-friendly wrappers for bcrypt.
|
// Basically promise-friendly wrappers for bcrypt.
|
||||||
var bcrypt = require('bcrypt');
|
var bcrypt = require('bcrypt-nodejs');
|
||||||
|
|
||||||
// Returns a promise for a hashed password string.
|
// Returns a promise for a hashed password string.
|
||||||
function hash(password) {
|
function hash(password) {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypt": "~0.8",
|
"bcrypt-nodejs": "0.0.3",
|
||||||
"body-parser": "~1.12.4",
|
"body-parser": "~1.12.4",
|
||||||
"deepcopy": "^0.5.0",
|
"deepcopy": "^0.5.0",
|
||||||
"express": "~4.2.x",
|
"express": "~4.2.x",
|
||||||
|
|||||||
Reference in New Issue
Block a user