pub struct Aes128 { /* private fields */ }Expand description
AES-128 block cipher
Trait Implementations§
Source§impl BlockCipher for Aes128
impl BlockCipher for Aes128
Source§type Algorithm = Aes128Algorithm
type Algorithm = Aes128Algorithm
The algorithm this cipher implements
Source§type Key = SecretBytes<16>
type Key = SecretBytes<16>
Key type with appropriate size guarantee
Source§fn block_size() -> usize
fn block_size() -> usize
Returns the block size in bytes
Source§impl CipherAlgorithm for Aes128
impl CipherAlgorithm for Aes128
Auto Trait Implementations§
impl Freeze for Aes128
impl RefUnwindSafe for Aes128
impl Send for Aes128
impl Sync for Aes128
impl Unpin for Aes128
impl UnwindSafe for Aes128
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