Skip to content

Commit a0a1239

Browse files
kyungrae2002aduh95
authored andcommitted
doc: document ArrayBuffer support in pbkd2Sync
Signed-off-by: kyungrae <kyungrae2002@gmail.com> PR-URL: #64976 Refs: #35093 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 9ffc0da commit a0a1239

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

doc/api/crypto.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5205,6 +5205,10 @@ negative performance implications for some applications; see the
52055205
<!-- YAML
52065206
added: v0.9.3
52075207
changes:
5208+
- version: v15.0.0
5209+
pr-url: https://github.com/nodejs/node/pull/35093
5210+
description: The password and salt arguments can also be ArrayBuffer
5211+
instances.
52085212
- version: v14.0.0
52095213
pr-url: https://github.com/nodejs/node/pull/30578
52105214
description: The `iterations` parameter is now restricted to positive
@@ -5219,8 +5223,8 @@ changes:
52195223
from `binary` to `utf8`.
52205224
-->
52215225

5222-
* `password` {string|Buffer|TypedArray|DataView}
5223-
* `salt` {string|Buffer|TypedArray|DataView}
5226+
* `password` {string|ArrayBuffer|Buffer|TypedArray|DataView}
5227+
* `salt` {string|ArrayBuffer|Buffer|TypedArray|DataView}
52245228
* `iterations` {number}
52255229
* `keylen` {number}
52265230
* `digest` {string}

0 commit comments

Comments
 (0)