Module ring_compat::aead[][src]

This is supported on crate feature aead only.
Expand description

Authenticated Encryption with Associated Data Algorithms: AES-GCM, ChaCha20Poly1305

Structs

Aes128Gcm

AES-GCM with a 128-bit key

Aes256Gcm

AES-GCM with a 256-bit key

ChaCha20Poly1305

ChaCha20Poly1305

Error

Error type.

Payload

AEAD payloads are a combination of a message (plaintext or ciphertext) and “additional associated data” (AAD) to be authenticated (in cleartext) along with the message.

Traits

Aead

Authenticated Encryption with Associated Data (AEAD) algorithm.

AeadCore

Authenticated Encryption with Associated Data (AEAD) algorithm core trait.

AeadInPlace

In-place stateless AEAD trait.

Buffer

In-place encryption/decryption byte buffers.

NewAead

Instantiate either a stateless Aead or stateful AeadMut algorithm.

Type Definitions

Tag

Authentication tags