Skip to content

Commit

Permalink
doc: fix crypto.hkdf callback derivedKey type
Browse files Browse the repository at this point in the history
PR-URL: #39453
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
panva authored and nodejs-github-bot committed Jul 26, 2021
1 parent c1354ff commit 5ad6a99
Showing 1 changed file with 1 addition and 1 deletion.
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 `ikm`,
`salt` and `info` are used with the `digest` to derive a key of `keylen` bytes.
Expand Down

0 comments on commit 5ad6a99

Please sign in to comment.