pub struct Shake128 { /* private fields */ }Expand description
SHAKE128 hasher.
Trait Implementations§
Source§impl AlgorithmName for Shake128
impl AlgorithmName for Shake128
Source§impl AssociatedOid for Shake128
Available on crate feature oid only.
impl AssociatedOid for Shake128
Available on crate feature
oid only.Source§const OID: ObjectIdentifier
const OID: ObjectIdentifier
The OID associated with this type.
Source§impl BlockSizeUser for Shake128
impl BlockSizeUser for Shake128
Source§impl CollisionResistance for Shake128
impl CollisionResistance for Shake128
Source§impl CoreProxy for Shake128
impl CoreProxy for Shake128
Source§impl ExtendableOutput for Shake128
impl ExtendableOutput for Shake128
Source§type Reader = Shake128Reader
type Reader = Shake128Reader
Reader
Source§fn finalize_xof(self) -> Self::Reader
fn finalize_xof(self) -> Self::Reader
Retrieve XOF reader and consume hasher instance.
Source§fn finalize_xof_into(self, out: &mut [u8])
fn finalize_xof_into(self, out: &mut [u8])
Finalize XOF and write result into
out.Source§impl ExtendableOutputReset for Shake128
impl ExtendableOutputReset for Shake128
Source§fn finalize_xof_reset(&mut self) -> Self::Reader
fn finalize_xof_reset(&mut self) -> Self::Reader
Retrieve XOF reader and reset hasher instance state.
Source§fn finalize_xof_reset_into(&mut self, out: &mut [u8])
fn finalize_xof_reset_into(&mut self, out: &mut [u8])
Finalize XOF, write result into
out, and reset the hasher state.Source§impl SerializableState for Shake128
impl SerializableState for Shake128
Source§type SerializedStateSize = <<Sha3HasherCore<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>, B0>, B0>, UTerm, SHAKE_PAD> as SerializableState>::SerializedStateSize as Add<<<Sha3HasherCore<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>, B0>, B0>, UTerm, SHAKE_PAD> as BlockSizeUser>::BlockSize as Add<<<Sha3HasherCore<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>, B0>, B0>, UTerm, SHAKE_PAD> as BufferKindUser>::BufferKind as Sealed>::Overhead>>::Output>>::Output
type SerializedStateSize = <<Sha3HasherCore<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>, B0>, B0>, UTerm, SHAKE_PAD> as SerializableState>::SerializedStateSize as Add<<<Sha3HasherCore<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>, B0>, B0>, UTerm, SHAKE_PAD> as BlockSizeUser>::BlockSize as Add<<<Sha3HasherCore<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>, B0>, B0>, UTerm, SHAKE_PAD> as BufferKindUser>::BufferKind as Sealed>::Overhead>>::Output>>::Output
Size of serialized internal state.
Source§fn serialize(&self) -> SerializedState<Self>
fn serialize(&self) -> SerializedState<Self>
Serialize and return internal state.
Source§fn deserialize(
serialized_state: &SerializedState<Self>,
) -> Result<Self, DeserializeStateError>
fn deserialize( serialized_state: &SerializedState<Self>, ) -> Result<Self, DeserializeStateError>
Create an object from serialized internal state. Read more
impl HashMarker for Shake128
Auto Trait Implementations§
impl Freeze for Shake128
impl RefUnwindSafe for Shake128
impl Send for Shake128
impl Sync for Shake128
impl Unpin for Shake128
impl UnsafeUnpin for Shake128
impl UnwindSafe for Shake128
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
Source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
Source§impl<T> SmallBlockSizeUser for T
impl<T> SmallBlockSizeUser for T
Source§type _BlockSize = <T as BlockSizeUser>::BlockSize
type _BlockSize = <T as BlockSizeUser>::BlockSize
Helper associated type equal to
<Self as BlockSizeUser>::BlockSize.