Skip to content

Commit 7c87c37

Browse files
authored
doc: document ArrayBuffer support in pbkd2Sync
Signed-off-by: kyungrae <[email protected]> PR-URL: #64976 Refs: #35093 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent b33cc0e commit 7c87c37

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
@@ -5269,6 +5269,10 @@ negative performance implications for some applications; see the
52695269
<!-- YAML
52705270
added: v0.9.3
52715271
changes:
5272+
- version: v15.0.0
5273+
pr-url: https://github.com/nodejs/node/pull/35093
5274+
description: The password and salt arguments can also be ArrayBuffer
5275+
instances.
52725276
- version: v14.0.0
52735277
pr-url: https://github.com/nodejs/node/pull/30578
52745278
description: The `iterations` parameter is now restricted to positive
@@ -5283,8 +5287,8 @@ changes:
52835287
from `binary` to `utf8`.
52845288
-->
52855289

5286-
* `password` {string|Buffer|TypedArray|DataView}
5287-
* `salt` {string|Buffer|TypedArray|DataView}
5290+
* `password` {string|ArrayBuffer|Buffer|TypedArray|DataView}
5291+
* `salt` {string|ArrayBuffer|Buffer|TypedArray|DataView}
52885292
* `iterations` {number}
52895293
* `keylen` {number}
52905294
* `digest` {string}

0 commit comments

Comments
 (0)