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: add DataView to appropriate crypto methods · nodejs/node@e081866

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
+8-8Lines changed: 8 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1779,8 +1779,8 @@ changes:
17791779
description: The default encoding for `password` if it is a string changed
17801780
from `binary` to `utf8`.
17811781
-->
1782-
- `password` {string|Buffer|TypedArray}
1783-
- `salt` {string|Buffer|TypedArray}
1782+
- `password` {string|Buffer|TypedArray|DataView}
1783+
- `salt` {string|Buffer|TypedArray|DataView}
17841784
- `iterations` {number}
17851785
- `keylen` {number}
17861786
- `digest` {string}
@@ -1849,8 +1849,8 @@ changes:
18491849
description: The default encoding for `password` if it is a string changed
18501850
from `binary` to `utf8`.
18511851
-->
1852-
- `password` {string|Buffer|TypedArray}
1853-
- `salt` {string|Buffer|TypedArray}
1852+
- `password` {string|Buffer|TypedArray|DataView}
1853+
- `salt` {string|Buffer|TypedArray|DataView}
18541854
- `iterations` {number}
18551855
- `keylen` {number}
18561856
- `digest` {string}
@@ -2147,8 +2147,8 @@ request.
21472147
<!-- YAML
21482148
added: v10.5.0
21492149
-->
2150-
- `password` {string|Buffer|TypedArray}
2151-
- `salt` {string|Buffer|TypedArray}
2150+
- `password` {string|Buffer|TypedArray|DataView}
2151+
- `salt` {string|Buffer|TypedArray|DataView}
21522152
- `keylen` {number}
21532153
- `options` {Object}
21542154
- `N` {number} CPU/memory cost parameter. Must be a power of two greater
@@ -2193,8 +2193,8 @@ crypto.scrypt('secret', 'salt', 64, { N: 1024 }, (err, derivedKey) => {
21932193
<!-- YAML
21942194
added: v10.5.0
21952195
-->
2196-
- `password` {string|Buffer|TypedArray}
2197-
- `salt` {string|Buffer|TypedArray}
2196+
- `password` {string|Buffer|TypedArray|DataView}
2197+
- `salt` {string|Buffer|TypedArray|DataView}
21982198
- `keylen` {number}
21992199
- `options` {Object}
22002200
- `N` {number} CPU/memory cost parameter. Must be a power of two greater

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.