pub struct Sha3<const N: usize> { /* private fields */ }Expand description
Sha3 is a SHA-3 hash implementation.
Trait Implementations§
Source§impl<const N: usize> Marshalable for Sha3<N>
impl<const N: usize> Marshalable for Sha3<N>
fn marshal_size(&self) -> usize
Source§fn marshal_into(&self, b: &mut [u8]) -> CryptoResult<usize>
fn marshal_into(&self, b: &mut [u8]) -> CryptoResult<usize>
Marshal the state to binary format.
Source§fn unmarshal_binary(&mut self, b: &[u8]) -> CryptoResult<()>
fn unmarshal_binary(&mut self, b: &[u8]) -> CryptoResult<()>
Unmarshal the state from binary format.
fn marshal_binary(&self) -> CryptoResult<Vec<u8>>
Auto Trait Implementations§
impl<const N: usize> Freeze for Sha3<N>
impl<const N: usize> RefUnwindSafe for Sha3<N>
impl<const N: usize> Send for Sha3<N>
impl<const N: usize> Sync for Sha3<N>
impl<const N: usize> Unpin for Sha3<N>
impl<const N: usize> UnwindSafe for Sha3<N>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)