diff --git a/doc/api/crypto.md b/doc/api/crypto.md index e1a91179d312f7..5527c5afa3c2ac 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1561,7 +1561,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