On the bcrypt-nodejs demo, I am not able to hash a password with the syntax provided:
var bcryptNodejs = require("bcrypt-nodejs")
var hash = bcryptNodejs.hashSync("bacon", 10);
console.log(hash);
The error:
TypeError: salt.charAt is not a function
is given. Any thoughts on when this can be fixed?