pub struct TypedAes128 { /* private fields */ }
Expand description
Enhanced AES-128 implementation with type-level guarantees
Trait Implementations§
Source§impl BlockCipher for TypedAes128
impl BlockCipher for TypedAes128
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 TypedAes128
impl CipherAlgorithm for TypedAes128
Source§impl Clone for TypedAes128
impl Clone for TypedAes128
Source§fn clone(&self) -> TypedAes128
fn clone(&self) -> TypedAes128
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Drop for TypedAes128
impl Drop for TypedAes128
Auto Trait Implementations§
impl Freeze for TypedAes128
impl RefUnwindSafe for TypedAes128
impl Send for TypedAes128
impl Sync for TypedAes128
impl Unpin for TypedAes128
impl UnwindSafe for TypedAes128
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