Skip to content

Instantly share code, notes, and snippets.

@ncb000gt
Created September 2, 2011 02:22
Show Gist options
  • Save ncb000gt/1187800 to your computer and use it in GitHub Desktop.
Save ncb000gt/1187800 to your computer and use it in GitHub Desktop.
bcrypt test to find segfault?
var bcrypt = require('./bcrypt');
while (true) {
bcrypt.gen_salt(10, function(err, salt) {
console.log('salt: ' + salt);
console.log('salt cb end: ' + (Date.now() - start) + 'ms');
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment