Skip to content

Commit 5efbe4c

Browse files
shobhitchittoravsemozhetbyt
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 b00c34c commit 5efbe4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,8 @@ Optional `options` argument controls stream behavior.
16261626

16271627
The `algorithm` is dependent on the available algorithms supported by the
16281628
version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.
1629-
On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will
1629+
On recent releases of OpenSSL, `openssl list -digest-algorithms`
1630+
(`openssl list-message-digest-algorithms` for older versions of OpenSSL) will
16301631
display the available digest algorithms.
16311632

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

0 commit comments

Comments
 (0)