Skip to content

Commit 206549f

Browse files
committed
test: use valid PBKDF2 inputs in domain test
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
1 parent d36e9ba commit 206549f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎test/parallel/test-domain-crypto.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ const buf = Buffer.alloc(8);
4040
crypto.randomFillSync(buf);
4141
crypto.pseudoRandomBytes(8);
4242
crypto.pseudoRandomBytes(8, common.mustSucceed());
43-
crypto.pbkdf2('password', 'salt', 8, 8, 'sha1', common.mustSucceed());
43+
crypto.pbkdf2('password', '0123456789abcdef', 1000, 16, 'sha1',
44+
common.mustSucceed());

0 commit comments

Comments
 (0)