Module cipher

Module cipher 

Source
Expand description

Core AEAD cipher implementation for (X)ChaCha20Poly1305.

Structsยง

Cipher ๐Ÿ”’
ChaCha20Poly1305 instantiated with a particular nonce

Constantsยง

BLOCK_SIZE ๐Ÿ”’
Size of a ChaCha20 block in bytes
MAX_BLOCKS ๐Ÿ”’
Maximum number of blocks that can be encrypted with ChaCha20 before the counter overflows.