# Module Crypto.ChaCha20.POLY1305

Inheritance graph

Description

  This is an AEAD cipher consisting of the CHACHA cipher and a MAC based on the POLY1305 algorithm.

Note

  Note that this is an AEAD cipher, while AES.POLY1305 (aka POLY1305-AES) is a MAC.

Note

  Note also that the POLY1305 algorithm used here is NOT identical to the one in the AES.POLY1305 MAC. The iv/nonce handling differs.

Note

  This module is not available in all versions of Nettle.

Inherit CHACHA_POLY1305

  inherit Nettle.CHACHA_POLY1305 : CHACHA_POLY1305