Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix crypto.hkdf callback derivedKey type
  • Loading branch information
panva committed Jul 19, 2021
commit 5f3b27f71d8172d3bc3db7b6bd59c4228685fe68
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `key`,
`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes.
Expand Down