[#AEADChaCha20Poly1305] = AEADChaCha20Poly1305 :mrdocs: The AEAD_CHACHA20_POLY1305 authenticated encryption algorithm from RFC8439 section 2.8. == Synopsis Declared in `<crypto/chacha20poly1305.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class AEADChaCha20Poly1305; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:AEADChaCha20Poly1305/Nonce96.adoc[`Nonce96`] | 96‐bit nonce type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:AEADChaCha20Poly1305/2constructor.adoc[`AEADChaCha20Poly1305`] [.small]#[constructor]# | Initialize an AEAD instance with a specified 32‐byte key. | xref:AEADChaCha20Poly1305/Decrypt-07.adoc[`Decrypt`] | `Decrypt` overloads | xref:AEADChaCha20Poly1305/Encrypt-09.adoc[`Encrypt`] | `Encrypt` overloads | xref:AEADChaCha20Poly1305/Keystream.adoc[`Keystream`] | Get a number of keystream bytes from the underlying stream cipher. | xref:AEADChaCha20Poly1305/SetKey.adoc[`SetKey`] | Switch to another 32‐byte key. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:AEADChaCha20Poly1305/EXPANSION.adoc[`EXPANSION`] | Expansion when encrypting. | xref:AEADChaCha20Poly1305/KEYLEN.adoc[`KEYLEN`] | Expected size of key argument in constructor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#