pub struct Aes256Key(_);
Expand description
AES 256 key
Trait Implementations
sourceimpl KeyInit for Aes256Key
impl KeyInit for Aes256Key
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 Aes256Key
impl Send for Aes256Key
impl Sync for Aes256Key
impl Unpin for Aes256Key
impl UnwindSafe for Aes256Key
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