pub struct Hashcrypt<State = Unknown> {
pub _state: State,
/* private fields */
}Fields§
§_state: StateImplementations§
Source§impl Hashcrypt<Enabled>
impl Hashcrypt<Enabled>
Sourcepub fn aes128<'a>(&'a mut self, key: &[u8; 16]) -> Aes128<'a>
pub fn aes128<'a>(&'a mut self, key: &[u8; 16]) -> Aes128<'a>
AES-128 “ECB”, as in RustCrypto block-cipher trait
Sourcepub fn aes192<'a>(&'a mut self, key: &[u8; 24]) -> Aes192<'a>
pub fn aes192<'a>(&'a mut self, key: &[u8; 24]) -> Aes192<'a>
AES-192 “ECB”, as in RustCrypto block-cipher trait
Trait Implementations§
Auto Trait Implementations§
impl<State = Unknown> !Sync for Hashcrypt<State>
impl<State> Freeze for Hashcrypt<State>where
State: Freeze,
impl<State> RefUnwindSafe for Hashcrypt<State>where
State: RefUnwindSafe,
impl<State> Send for Hashcrypt<State>where
State: Send,
impl<State> Unpin for Hashcrypt<State>where
State: Unpin,
impl<State> UnsafeUnpin for Hashcrypt<State>where
State: UnsafeUnpin,
impl<State> UnwindSafe for Hashcrypt<State>where
State: UnwindSafe,
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