Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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