From 5ad6a99ed909eb82275fadedb55614df69de960d Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Mon, 19 Jul 2021 22:38:21 +0200 Subject: [PATCH] doc: fix crypto.hkdf callback derivedKey type PR-URL: https://github.com/nodejs/node/pull/39453 Reviewed-By: James M Snell --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index c7ac0801d89c5d..a0d87e14e2e2fe 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.