[go: up one dir, main page]

[][src]Module ring_compat::aead

This is supported on crate feature aead only.

Authenticated Encryption with Associated Data algorithms

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.

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