doc: fix Argon2 parameter bounds · nodejs/node@169b5ea
@@ -3306,14 +3306,14 @@ added: v24.7.0
33063306* `nonce` {string|ArrayBuffer|Buffer|TypedArray|DataView} REQUIRED, must be at
33073307 least 8 bytes long. This is the salt for password hashing applications of Argon2.
33083308* `parallelism` {number} REQUIRED, degree of parallelism determines how many computational chains (lanes)
3309- can be run. Must be greater than 1 and less than `2**24-1`.
3310-* `tagLength` {number} REQUIRED, the length of the key to generate. Must be greater than 4 and
3311-less than `2**32-1`.
3312-* `memory` {number} REQUIRED, memory cost in 1KiB blocks. Must be greater than
3313-`8 * parallelism` and less than `2**32-1`. The actual number of blocks is rounded
3309+ can be run. Must be at least `1` and at most `2**24-1`.
3310+* `tagLength` {number} REQUIRED, the length of the key to generate. Must be at least `4` and
3311+at most `2**32-1`.
3312+* `memory` {number} REQUIRED, memory cost in 1KiB blocks. Must be at least
3313+`8 * parallelism` and at most `2**32-1`. The actual number of blocks is rounded
33143314 down to the nearest multiple of `4 * parallelism`.
3315-* `passes` {number} REQUIRED, number of passes (iterations). Must be greater than 1 and less
3316-than `2**32-1`.
3315+* `passes` {number} REQUIRED, number of passes (iterations). Must be at least `1` and at most
3316+`2**32-1`.
33173317* `secret` {string|ArrayBuffer|Buffer|TypedArray|DataView|undefined} OPTIONAL, Random additional input,
33183318 similar to the salt, that should **NOT** be stored with the derived key. This is known as pepper in
33193319 password hashing applications. If used, must have a length not greater than `2**32-1` bytes.
@@ -3392,14 +3392,14 @@ added: v24.7.0
33923392* `nonce` {string|ArrayBuffer|Buffer|TypedArray|DataView} REQUIRED, must be at
33933393 least 8 bytes long. This is the salt for password hashing applications of Argon2.
33943394* `parallelism` {number} REQUIRED, degree of parallelism determines how many computational chains (lanes)
3395- can be run. Must be greater than 1 and less than `2**24-1`.
3396-* `tagLength` {number} REQUIRED, the length of the key to generate. Must be greater than 4 and
3397-less than `2**32-1`.
3398-* `memory` {number} REQUIRED, memory cost in 1KiB blocks. Must be greater than
3399-`8 * parallelism` and less than `2**32-1`. The actual number of blocks is rounded
3395+ can be run. Must be at least 1 and at most `2**24-1`.
3396+* `tagLength` {number} REQUIRED, the length of the key to generate. Must be at least `4` and
3397+at most `2**32-1`.
3398+* `memory` {number} REQUIRED, memory cost in 1KiB blocks. Must be at least
3399+`8 * parallelism` and at most `2**32-1`. The actual number of blocks is rounded
34003400 down to the nearest multiple of `4 * parallelism`.
3401-* `passes` {number} REQUIRED, number of passes (iterations). Must be greater than 1 and less
3402-than `2**32-1`.
3401+* `passes` {number} REQUIRED, number of passes (iterations). Must be at least `1` and at most
3402+`2**32-1`.
34033403* `secret` {string|ArrayBuffer|Buffer|TypedArray|DataView|undefined} OPTIONAL, Random additional input,
34043404 similar to the salt, that should **NOT** be stored with the derived key. This is known as pepper in
34053405 password hashing applications. If used, must have a length not greater than `2**32-1` bytes.