We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ecdaa2 commit fa302edCopy full SHA for fa302ed
test/pbkdf2.js
@@ -6,6 +6,9 @@ var vectors = require('hash-test-vectors/pbkdf2')
6
7
tape('pbkdf2', function (t) {
8
vectors.forEach(function (input) {
9
+ //skip inputs that will take way too long
10
+ if(input.iterations > 10000) return
11
+
12
var key = pbkdf2Sync(input.password, input.salt, input.iterations, input.length)
13
14
if(key.toString('hex') !== input.sha1)
0 commit comments