Skip to content

Instantly share code, notes, and snippets.

View eiabea's full-sized avatar
🤘
Keep coding PunkRock

eiabea

🤘
Keep coding PunkRock
View GitHub Profile

Keybase proof

I hereby claim:

  • I am eiabea on github.
  • I am eiabea (https://keybase.io/eiabea) on keybase.
  • I have a public key whose fingerprint is F205 62B0 5F9C D3E1 BEBE 77FB E952 814D 8761 17C3

To claim this, I am signing this object:

var bcrypt = require('bcrypt');
// represents hash on server
var hashInDb;
// Client
bcrypt.hash('bacon' + 'appsalt', 10, function (err, hash) {
console.log("bacon with appsalt: " + hash);
// --> Send Hash to REST