diff options
author | Filip Skokan <panva.ip@gmail.com> | 2020-09-18 02:52:51 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-09-22 17:25:05 +0300 |
commit | fb88257b72bb6aba8f7c30cf78917299647697fe (patch) | |
tree | 9677a9c784ab486c76def4d888aac728e9e38a0b /doc/api/crypto.md | |
parent | d71b467bbe8ffa5cacb54ff70b7329256b7f9c0a (diff) |
doc: update crypto.createSecretKey accepted types
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r-- | doc/api/crypto.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 8bd22539088..12eaa39ac5b 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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 |