Created
September 26, 2018 09:31
-
-
Save rpf5573/ec5f5f9883c1db6cd9fdec601a690780 to your computer and use it in GitHub Desktop.
multi thread test
This file contains 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
const crypto = require('crypto'); | |
const start = Date.now(); | |
crypto.pbkdf2( 'a', 'b', 100000, 512, 'sha512', () => { | |
console.log( '1:', Date.now() - start ); | |
}); | |
// output | |
// 1: 1036 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment