GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix Argon2 parameter bounds · nodejs/node@169b5ea

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • crypto.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+14-14Lines changed: 14 additions & 14 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -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.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.