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 targos committed Aug 2, 2021
1 parent 0405c8d commit 7b612fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
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 7b612fa

Please sign in to comment.