pub struct AES { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Cipher for AES
impl Cipher for AES
type Output = usize
Source§fn block_size(&self) -> Option<usize>
fn block_size(&self) -> Option<usize>
The cryptography algorithm used data block size(in bytes) for plaintext,
None
means that there is
no requirement for the data block size.Auto Trait Implementations§
impl Freeze for AES
impl RefUnwindSafe for AES
impl Send for AES
impl Sync for AES
impl Unpin for AES
impl UnwindSafe for AES
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