Skip to main content

pd_cipher::encryptors::generic_aead

Generic AEAD (Authenticated Encryption with Associated Data) wrapper.

Structs

GenericAeadEncryptor

A generic implementation of Encryptor for AEAD ciphers.

This provides a unified implementation for any AEAD (Authenticated Encryption with Associated Data) cipher, reducing code duplication across AES-GCM, ChaCha20-Poly1305, and other AEAD implementations.

pub struct GenericAeadEncryptor<...>