Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

Module Crypto.ChaCha20.POLY1305

Inheritance graph
__builtin.Nettle.Cipher __builtin.Nettle.__Hash __builtin.Nettle.AEAD Nettle.AEAD Nettle.CHACHA_POLY1305 Crypto.ChaCha20.POLY1305
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