454
455
456
457
458
459
460
461
462
463
464
465
466
467
|
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
|
+
|
<dd>Calculate the message digest for <em>data</em> or file <em>filename</em>
using <em>type</em> hash algorithm. Returns value as a hex string
(default) or as a binary value with <em>-bin</em> option. Using
<em>-chan</em> option, a stacked channel is created and data read
from the channel is used to calculate a message digest with the result
returned with the last read operation before EOF. Use <em>-key</em> to
specify the key and return a Hashed Message Authentication Code (HMAC).
To salt a password, append or prepend the salt text to the password.
Type can be any OpenSSL supported hash algorithm including: <b>md4</b>,
<b>md5</b>, <b>sha1</b>, <b>sha256</b>, <b>sha512</b>, <b>sha3-256</b>,
etc. See <b>tls::digests</b> command for a full list.</dd>
<dt><a name="tls::digests"><strong>tls::digests</strong></a></dt>
<dd>Returns a list of the hash algorithms for <b>tls::digest</b> command.</dd>
|