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 Trott committed Sep 22, 2020
1 parent d71b467 commit fb88257
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 @@ -2062,7 +2062,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 fb88257

Please sign in to comment.