Skip to content

Commit 7b612fa

Browse files
panvatargos
authored andcommitted
doc: fix crypto.hkdf callback derivedKey type
PR-URL: #39453 Reviewed-By: James M Snell <[email protected]>
1 parent 0405c8d commit 7b612fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3857,7 +3857,7 @@ added: v15.0.0
38573857
the maximum HKDF output 16320 bytes).
38583858
* `callback` {Function}
38593859
* `err` {Error}
3860-
* `derivedKey` {Buffer}
3860+
* `derivedKey` {ArrayBuffer}
38613861

38623862
HKDF is a simple key derivation function defined in RFC 5869. The given `ikm`,
38633863
`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes.

0 commit comments

Comments
 (0)