doc: document ArrayBuffer support in pbkd2Sync

Signed-off-by: kyungrae <kyungrae2002@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64976
Refs: https://github.com/nodejs/node/pull/35093
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
kyungrae2002 authored and Antoine du Hamel committed 2026-08-26 00:55:33 +02:00
1 parent 1a63416b1a
commit 0cf79931bb
1 file changed
+6 -2
+6 -2
View File
@@ -5229,6 +5229,10 @@ negative performance implications for some applications; see the
<!-- YAML
added: v0.9.3
changes:
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The password and salt arguments can also be ArrayBuffer
instances.
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/30578
description: The `iterations` parameter is now restricted to positive
@@ -5243,8 +5247,8 @@ changes:
from `binary` to `utf8`.
-->
* `password` {string|Buffer|TypedArray|DataView}
* `salt` {string|Buffer|TypedArray|DataView}
* `password` {string|ArrayBuffer|Buffer|TypedArray|DataView}
* `salt` {string|ArrayBuffer|Buffer|TypedArray|DataView}
* `iterations` {number}
* `keylen` {number}
* `digest` {string}