summaryrefslogtreecommitdiff
path: root/doc/api/crypto.md
diff options
context:
space:
mode:
authorShobhit Chittora <chittorashobhit@gmail.com>2018-04-29 15:53:29 +0530
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-03 17:46:31 +0300
commit6a24c0c4d6a29a223db26469d33aa0a6f0ed2a1e (patch)
tree12e9f0ced90fe68db2241a97d6d78c2c94f3254e /doc/api/crypto.md
parentb04d0921aeaa70521dea5fcb27256c686157eb87 (diff)
downloadandroid-node-v8-6a24c0c4d6a29a223db26469d33aa0a6f0ed2a1e.tar.gz
android-node-v8-6a24c0c4d6a29a223db26469d33aa0a6f0ed2a1e.tar.bz2
android-node-v8-6a24c0c4d6a29a223db26469d33aa0a6f0ed2a1e.zip
doc: update cli flag in crypto.md
PR-URL: https://github.com/nodejs/node/pull/20400 Fixes: https://github.com/nodejs/node/issues/20385 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Diffstat (limited to 'doc/api/crypto.md')
-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 dc84255386..32ef013b80 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -1585,7 +1585,8 @@ 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.
Example: generating the sha256 sum of a file