From f95a52cb1e25801e7a5ac65abed9ced9e8baf5f4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 5 Jun 2019 22:33:29 -0700 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- doc/api/crypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 21df0e55987f8b..1fa0122a513f2e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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 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 -too weak for safe use. +the use of ciphers and hashes with a small key size that are too weak for safe +use. Users should take full responsibility for selecting the crypto algorithm and key size according to their security requirements.