pub struct Aes128Key(_);
Expand description
AES 128 key
Trait Implementations
sourceimpl KeyInit for Aes128Key
impl KeyInit for Aes128Key
sourcefn new(key: &GenericArray<u8, Self::KeySize>) -> Self
fn new(key: &GenericArray<u8, Self::KeySize>) -> Self
Create new value from fixed size key.
sourcefn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
Create new value from variable size key.
Auto Trait Implementations
impl RefUnwindSafe for Aes128Key
impl Send for Aes128Key
impl Sync for Aes128Key
impl Unpin for Aes128Key
impl UnwindSafe for Aes128Key
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more