Trait BlockCipher
pub trait BlockCipher:
'static
+ Debug
+ Sealed {
// Required methods
fn id(&self) -> BlockCipherId;
fn key_len(&self) -> usize;
}Available on crate features
aws-lc and crypto only.Expand description
A key wrap block cipher.
Required Methods§
fn id(&self) -> BlockCipherId
fn id(&self) -> BlockCipherId
The block cipher identifier.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".