summaryrefslogtreecommitdiff
path: root/doc/api/crypto.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-06-05 22:33:29 -0700
committerRich Trott <rtrott@gmail.com>2019-06-08 18:16:08 -0700
commit50a4e00143720ee707905c13aac26d45b1b549e7 (patch)
tree6a7aff5b79e836b5ce823c2e20b4faa1a2a7befe /doc/api/crypto.md
parentcb9232dd84e4f22f72ab2a5c680c6169118be145 (diff)
downloadandroid-node-v8-50a4e00143720ee707905c13aac26d45b1b549e7.tar.gz
android-node-v8-50a4e00143720ee707905c13aac26d45b1b549e7.tar.bz2
android-node-v8-50a4e00143720ee707905c13aac26d45b1b549e7.zip
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>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r--doc/api/crypto.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 21df0e5598..1fa0122a51 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.