Skip to content

Commit 5c531f9

Browse files
committed
Fix typo in error message
1 parent c81485c commit 5c531f9

File tree

2 files changed

+67
-2
lines changed

2 files changed

+67
-2
lines changed

scrypt-async.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ function scrypt(password, salt, logN, r, dkLen, interruptStep, callback, encodin
399399
throw new Error('scrypt: invalid r');
400400

401401
if (logN < 1 || logN > 31)
402-
throw new Error('scrypt: logN not be between 1 and 31');
402+
throw new Error('scrypt: logN must be between 1 and 31');
403403

404404

405405
var N = (1<<logN)>>>0,

scrypt-async.min.js

Lines changed: 66 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)