Skip to main content

AesVariant

Trait AesVariant 

Source
pub trait AesVariant: CipherAlgorithm {
    const ROUNDS: usize;
}
Expand description

Marker trait for specific AES key sizes

Required Associated Constants§

Source

const ROUNDS: usize

Number of rounds

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§