'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' ); }); });