mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: update one more command in crypto.md
PR-URL: https://github.com/nodejs/node/pull/20500 Refs: https://github.com/nodejs/node/pull/20400 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
d357875ea1
commit
bea4ffcc97
1 file changed
+2
-1
+2
-1
@@ -1602,7 +1602,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.
|
||||
|
||||
Reference in new issue
Block a user