pub struct AesEcb { /* private fields */ }Expand description
AES in ECB (electronic codebook) mode.
Data must be a multiple of the block length.
ECB does not hide data patterns. Do not use it to encrypt messages directly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AesEcb
impl RefUnwindSafe for AesEcb
impl Send for AesEcb
impl Sync for AesEcb
impl Unpin for AesEcb
impl UnsafeUnpin for AesEcb
impl UnwindSafe for AesEcb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more