doc: clarify weak keys text

Describe small key sizes as "too weak for safe use" rather than
"considered to be too weak for safe use".

PR-URL: https://github.com/nodejs/node/pull/28090
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Rich Trott 2019-06-05 22:33:29 -07:00
parent cb9232dd84
commit 50a4e00143

View File

@ -2807,8 +2807,8 @@ it can be used to put the ECDH key pair into an inconsistent state.
The `crypto` module still supports some algorithms which are already The `crypto` module still supports some algorithms which are already
compromised and are not currently recommended for use. The API also allows compromised and are not currently recommended for use. The API also allows
the use of ciphers and hashes with a small key size that are considered to be the use of ciphers and hashes with a small key size that are too weak for safe
too weak for safe use. use.
Users should take full responsibility for selecting the crypto Users should take full responsibility for selecting the crypto
algorithm and key size according to their security requirements. algorithm and key size according to their security requirements.