Skip to content

hashSync broken, "TypeError: salt.charAt is not a function" #80

@neilbalch

Description

@neilbalch

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions