diff options
-rw-r--r-- | doc/api/crypto.md | 3 |
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. |