Skip to content
Permalink
Browse files

doc: update one more command in crypto.md

PR-URL: #20500
Refs: #20400
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information...
shobhitchittora authored and vsemozhetbyt committed May 3, 2018
1 parent b00c34c commit 5efbe4c1e8f9baf4251c40c52ca9452d8f7416ce
Showing with 2 additions and 1 deletion.
  1. +2 −1 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.

0 comments on commit 5efbe4c

Please sign in to comment.
You can’t perform that action at this time.