diff --git a/src/argon2.ts b/src/argon2.ts index de0a375..c9da38d 100644 --- a/src/argon2.ts +++ b/src/argon2.ts @@ -202,7 +202,7 @@ function argon2Init(type: Types, password: Input, salt: Input, opts: ArgonOpts) ...opts, version: opts.version || 0x13, dkLen: opts.dkLen || 32, - maxmem: 2 ** 32, + maxmem: 2 ** 32 - 1, asyncTick: 10, }; // Validation