Skip to content

Instantly share code, notes, and snippets.

@mohsentaleb
Created April 25, 2020 19:59
Show Gist options
  • Save mohsentaleb/e804f5e46ae2aabf186aef455a3af486 to your computer and use it in GitHub Desktop.
Save mohsentaleb/e804f5e46ae2aabf186aef455a3af486 to your computer and use it in GitHub Desktop.
const bcrypt = require("bcryptjs");
bcrypt.hash("password", 8, function(error, hash) {
console.log(hash);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment