Created
December 23, 2014 23:17
-
-
Save pid/90cec5b3bdc091b6c42d to your computer and use it in GitHub Desktop.
bcrypt speedtest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var bcrypt = require('bcrypt'); | |
| console.time('timer'); | |
| bcrypt.hashSync('bacon', bcrypt.genSaltSync(+process.argv[process.argv.length-1] || 16)); | |
| console.timeEnd('timer'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment