Timo Hocker 5bbf9d658c
All checks were successful
continuous-integration/drone/push Build is passing
reduce extreme time consumption of pbkdf
2023-04-04 22:09:25 +02:00

17 lines
417 B
JavaScript

'use strict';
const crypto = require ('../../index');
describe ('hashing', () => {
it ('scrypt', async () => {
const hash = await crypto.pbkdf_scrypt ('a', 'b');
expect (
hash
)
.toEqual (
// eslint-disable-next-line max-len
'f70baff6e80e83a2fc5af752f4b57b6b73442f913fc6446b6cb62e3f5f56f9b18c51c3461081239fdac6e9f8498a95ecfabb0b927db8a9ee2de80ed40469b034'
);
});
});