Authenticated Encryption with Additional Data
- Encrypts a message with a key and a nonce to keep it confidential
- Computes an authentication tag. This tag is used to make sure that the message, as well as optional, non-confidential (non-encrypted) data, haven’t been tampered with.
- Encryption: XChaCha20 stream cipher
- Authentication: Poly1305 MAC