summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShobhit Chittora <chittorashobhit@gmail.com>2018-05-03 20:16:08 +0530
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-07 04:09:28 +0300
commit5efbe4c1e8f9baf4251c40c52ca9452d8f7416ce (patch)
treeaef3fc9c75ffeb10b01bfe8570f0c3b851fa46a4 /doc
parentb00c34c16155417d1ddee44430d99ca43a837315 (diff)
downloadandroid-node-v8-5efbe4c1e8f9baf4251c40c52ca9452d8f7416ce.tar.gz
android-node-v8-5efbe4c1e8f9baf4251c40c52ca9452d8f7416ce.tar.bz2
android-node-v8-5efbe4c1e8f9baf4251c40c52ca9452d8f7416ce.zip
doc: update one more command in crypto.md
PR-URL: https://github.com/nodejs/node/pull/20500 Refs: https://github.com/nodejs/node/pull/20400 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/crypto.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 9ca30f9546..b8fafc8574 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -1626,7 +1626,8 @@ Optional `options` argument controls stream behavior.
The `algorithm` is dependent on the available algorithms supported by the
version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.
-On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will
+On recent releases of OpenSSL, `openssl list -digest-algorithms`
+(`openssl list-message-digest-algorithms` for older versions of OpenSSL) will
display the available digest algorithms.
The `key` is the HMAC key used to generate the cryptographic HMAC hash.