Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorFilip Skokan <panva.ip@gmail.com>2021-07-19 23:38:21 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-07-27 00:36:54 +0300
commit5ad6a99ed909eb82275fadedb55614df69de960d (patch)
treea432bb241ea5453cad861d1a26cdcd1d32e25770 /doc/api
parentc1354ffec367b64cc6e69e405168d2df609c5e94 (diff)
doc: fix crypto.hkdf callback derivedKey type
PR-URL: https://github.com/nodejs/node/pull/39453 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/crypto.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index c7ac0801d89..a0d87e14e2e 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -3857,7 +3857,7 @@ added: v15.0.0
the maximum HKDF output 16320 bytes).
* `callback` {Function}
* `err` {Error}
- * `derivedKey` {Buffer}
+ * `derivedKey` {ArrayBuffer}
HKDF is a simple key derivation function defined in RFC 5869. The given `ikm`,
`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes.