ring_compat

Module aead

Source
Available 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.
Payloadalloc
AEAD payloads (message + AAD).

Traits§

Aeadalloc
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.
KeyInit
Types which can be initialized from key.
KeySizeUser
Types which use key for initialization.

Type Aliases§

Tag
Authentication tags