Skip to content

Commit

Permalink
argon2: fix maxmem
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Nov 23, 2024
1 parent dc762a1 commit bff8023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/argon2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bff8023

Please sign in to comment.