The AEAD_CHACHA20_POLY1305 authenticated encryption algorithm from RFC8439 section 2.8.

Synopsis

Declared in <crypto/chacha20poly1305.h>

class AEADChaCha20Poly1305;

Type Aliases

Name

Description

Nonce96

96‐bit nonce type.

Member Functions

Name

Description

AEADChaCha20Poly1305 [constructor]

Initialize an AEAD instance with a specified 32‐byte key.

Decrypt

Decrypt overloads

Encrypt

Encrypt overloads

Keystream

Get a number of keystream bytes from the underlying stream cipher.

SetKey

Switch to another 32‐byte key.

Static Data Members

Name

Description

EXPANSION

Expansion when encrypting.

KEYLEN

Expected size of key argument in constructor.

Created with MrDocs