543
544
545
546
547
548
549
550
551
552
553
554
555
556
|
<dd>Calculate the Hash-based Message Authentication Code (HMAC). HMACs are
used to ensure the data integrity and authenticity of a message using a
shared secret key. The cryptographic strength depends upon the size of
the key and the security of the hash function used. It uses the same
options as <b>tls::digest</b>, plus additional option <b>-key</b> to
specify the key to use. To salt a password, append or prepend the salt
data to the password.</dd>
<dt><a name="tls::md4"><strong>tls::md4</strong> <em>data</em></a></dt>
<dd>Returns the MD4 message-digest for <em>data</em> as a hex string.</dd>
<dt><a name="tls::md5"><strong>tls::md5</strong> <em>data</em></a></dt>
<dd>Returns the MD5 message-digest for <em>data</em> as a hex string.</dd>
|
>
>
>
>
>
>
>
>
>
>
|
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
|
<dd>Calculate the Hash-based Message Authentication Code (HMAC). HMACs are
used to ensure the data integrity and authenticity of a message using a
shared secret key. The cryptographic strength depends upon the size of
the key and the security of the hash function used. It uses the same
options as <b>tls::digest</b>, plus additional option <b>-key</b> to
specify the key to use. To salt a password, append or prepend the salt
data to the password.</dd>
<dt><a name="tls::mac"><strong>tls::mac</strong> <b>-cipher</b> <em>name</em>
<b>-digest</b> <em>name</em> <b>-key</b> <em>key ?</em><b>-bin</b>|<b>-hex</b><em>?
[</em><b>-file</b> <em>filename | </em><b>-command</b> <em>cmdName |
</em><b>-chan</b> <em>channelId | </em><b>-data</b> <em>data]</em></a></dt>
<dd>(OpenSSL 3.0+) Calculate the Message Authentication Code (MAC). MACs
are used to ensure authenticity and the integrity of data. It uses the
same options as <b>tls::digest</b>, plus the additional options
<b>-cipher</b> to specify the cipher to use, <b>-digest</b> to specify
the digest, and for certain ciphers, <b>-key</b> to specify the key.</dd>
<dt><a name="tls::md4"><strong>tls::md4</strong> <em>data</em></a></dt>
<dd>Returns the MD4 message-digest for <em>data</em> as a hex string.</dd>
<dt><a name="tls::md5"><strong>tls::md5</strong> <em>data</em></a></dt>
<dd>Returns the MD5 message-digest for <em>data</em> as a hex string.</dd>
|