Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7b612fa

Browse filesBrowse files
panvatargos
authored andcommitted
doc: fix crypto.hkdf callback derivedKey type
PR-URL: #39453 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 0405c8d commit 7b612fa
Copy full SHA for 7b612fa

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.