The AEAD_CHACHA20_POLY1305 authenticated encryption algorithm from RFC8439 section 2.8.
Declared in <crypto/chacha20poly1305.h>
class AEADChaCha20Poly1305;
| Name | Description |
|---|---|
Nonce96 | 96-bit nonce type. |
| 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. |
| Name | Description |
|---|---|
EXPANSION | Expansion when encrypting. |
KEYLEN | Expected size of key argument in constructor. |