pub struct AsconXof128 { /* private fields */ }Expand description
Ascon-XOF128 hasher.
Trait Implementations§
Source§impl AlgorithmName for AsconXof128
impl AlgorithmName for AsconXof128
Source§impl BlockSizeUser for AsconXof128
impl BlockSizeUser for AsconXof128
Source§type BlockSize = <AsconXofCore as BlockSizeUser>::BlockSize
type BlockSize = <AsconXofCore as BlockSizeUser>::BlockSize
Size of the block in bytes.
Source§fn block_size() -> usize
fn block_size() -> usize
Return block size in bytes.
Source§impl Clone for AsconXof128
impl Clone for AsconXof128
Source§impl CollisionResistance for AsconXof128
impl CollisionResistance for AsconXof128
Source§impl CoreProxy for AsconXof128
impl CoreProxy for AsconXof128
Source§impl Debug for AsconXof128
impl Debug for AsconXof128
Source§impl Default for AsconXof128
impl Default for AsconXof128
Source§impl ExtendableOutput for AsconXof128
impl ExtendableOutput for AsconXof128
Source§type Reader = AsconXof128Reader
type Reader = AsconXof128Reader
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 AsconXof128
impl ExtendableOutputReset for AsconXof128
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 AsconXof128
impl SerializableState for AsconXof128
Source§type SerializedStateSize = <<AsconXofCore as SerializableState>::SerializedStateSize as Add<<<AsconXofCore as BlockSizeUser>::BlockSize as Add<<<AsconXofCore as BufferKindUser>::BufferKind as Sealed>::Overhead>>::Output>>::Output
type SerializedStateSize = <<AsconXofCore as SerializableState>::SerializedStateSize as Add<<<AsconXofCore as BlockSizeUser>::BlockSize as Add<<<AsconXofCore 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
Source§impl Update for AsconXof128
impl Update for AsconXof128
impl HashMarker for AsconXof128
Auto Trait Implementations§
impl Freeze for AsconXof128
impl RefUnwindSafe for AsconXof128
impl Send for AsconXof128
impl Sync for AsconXof128
impl Unpin for AsconXof128
impl UnsafeUnpin for AsconXof128
impl UnwindSafe for AsconXof128
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> 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.