Skip to main content

AeadCore

Trait AeadCore 

Source
pub trait AeadCore {
    type NonceSize: ArraySize;
    type TagSize: ArraySize;

    const TAG_POSITION: TagPosition;
}
Expand description

Authenticated Encryption with Associated Data (AEAD) algorithm.

Required Associated Constants§

Source

const TAG_POSITION: TagPosition

The AEAD tag position.

Required Associated Types§

Source

type NonceSize: ArraySize

The length of a nonce.

Source

type TagSize: ArraySize

The maximum length of the tag.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§