Skip to content

Commit 38323bc

Browse files
shobhitchittoraMylesBorins
authored andcommitted
doc: update one more command in crypto.md
PR-URL: #20500 Refs: #20400 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 71f8f12 commit 38323bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,8 @@ Optional `options` argument controls stream behavior.
16021602

16031603
The `algorithm` is dependent on the available algorithms supported by the
16041604
version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.
1605-
On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will
1605+
On recent releases of OpenSSL, `openssl list -digest-algorithms`
1606+
(`openssl list-message-digest-algorithms` for older versions of OpenSSL) will
16061607
display the available digest algorithms.
16071608

16081609
The `key` is the HMAC key used to generate the cryptographic HMAC hash.

0 commit comments

Comments
 (0)