Skip to content

Commit fb88257

Browse files
panvaTrott
authored andcommitted
doc: update crypto.createSecretKey accepted types
PR-URL: #35246 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent d71b467 commit fb88257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ and it will be impossible to extract the private key from the returned object.
20622062
added: v11.6.0
20632063
-->
20642064

2065-
* `key` {Buffer}
2065+
* `key` {Buffer | TypedArray | DataView}
20662066
* Returns: {KeyObject}
20672067

20682068
Creates and returns a new key object containing a secret key for symmetric

0 commit comments

Comments
 (0)