Skip to content

Commit

Permalink
doc: update crypto.createSecretKey accepted types
Browse files Browse the repository at this point in the history
PR-URL: #35246
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
panva authored and MylesBorins committed Sep 24, 2020
1 parent c09f3dc commit 2a4ae09
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 @@ -2060,7 +2060,7 @@ and it will be impossible to extract the private key from the returned object.
added: v11.6.0
-->

* `key` {Buffer}
* `key` {Buffer | TypedArray | DataView}
* Returns: {KeyObject}

Creates and returns a new key object containing a secret key for symmetric
Expand Down

0 comments on commit 2a4ae09

Please sign in to comment.