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

Name

Description

FSChaCha20Poly1305 [constructor]

Constructors

operator=

Assignment operators

Decrypt

Decrypt overloads

Encrypt

Encrypt overloads

Static Data Members

Name

Description

EXPANSION

Expansion when encrypting.

KEYLEN

Length of keys expected by the constructor.

Created with MrDocs