FSChaCha20Poly1305

Forward-secure wrapper around AEADChaCha20Poly1305.

Synopsis

Declared in <crypto/chacha20poly1305.h>

class FSChaCha20Poly1305;

Description

This implements an AEAD which automatically increments the nonce on every encryption or decryption, and cycles keys after a predetermined number of encryptions or decryptions.

See BIP324 for details.

Member Functions

NameDescription
FSChaCha20Poly1305 [constructor]Constructors
operator= Assignment operators
Decrypt Decrypt overloads
Encrypt Encrypt overloads

Static Data Members

NameDescription
EXPANSION Expansion when encrypting.
KEYLEN Length of keys expected by the constructor.