GeezerVison is showing github.com — doc: document ArrayBuffer support in pbkd2Sync · nodejs/node@0cf7993
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/crypto.md +6-2Lines changed: 6 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5229,6 +5229,10 @@ negative performance implications for some applications; see the |
5229 | 5229 | <!-- YAML |
5230 | 5230 | added: v0.9.3 |
5231 | 5231 | changes: |
| 5232 | + - version: v15.0.0 |
| 5233 | + pr-url: https://github.com/nodejs/node/pull/35093 |
| 5234 | + description: The password and salt arguments can also be ArrayBuffer |
| 5235 | + instances. |
5232 | 5236 | - version: v14.0.0 |
5233 | 5237 | pr-url: https://github.com/nodejs/node/pull/30578 |
5234 | 5238 | description: The `iterations` parameter is now restricted to positive |
@@ -5243,8 +5247,8 @@ changes: |
5243 | 5247 | from `binary` to `utf8`. |
5244 | 5248 | --> |
5245 | 5249 |
|
5246 | | -* `password` {string|Buffer|TypedArray|DataView} |
5247 | | -* `salt` {string|Buffer|TypedArray|DataView} |
| 5250 | +* `password` {string|ArrayBuffer|Buffer|TypedArray|DataView} |
| 5251 | +* `salt` {string|ArrayBuffer|Buffer|TypedArray|DataView} |
5248 | 5252 | * `iterations` {number} |
5249 | 5253 | * `keylen` {number} |
5250 | 5254 | * `digest` {string} |
|