diff options
author | Filip Skokan <panva.ip@gmail.com> | 2022-08-11 12:52:41 +0300 |
---|---|---|
committer | Filip Skokan <panva.ip@gmail.com> | 2022-08-12 22:36:27 +0300 |
commit | 85107bdd66af735c5c0f03310ab6167c44cb4432 (patch) | |
tree | 22a8a3c9bb9780b49796824e66f229ecd347bd23 /doc/api/crypto.md | |
parent | c6c4cdab361d409cc540aeecd441f49f74d7748f (diff) |
crypto: allow zero-length secret KeyObject
PR-URL: https://github.com/nodejs/node/pull/44201
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r-- | doc/api/crypto.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 794ea985e10..ba29b669049 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -3539,6 +3539,9 @@ and it will be impossible to extract the private key from the returned object. <!-- YAML added: v11.6.0 changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/44201 + description: The key can now be zero-length. - version: v15.0.0 pr-url: https://github.com/nodejs/node/pull/35093 description: The key can also be an ArrayBuffer or string. The encoding |