pub struct Fsb160Core { /* private fields */ }Expand description
Core FSB-160 hasher state
Trait Implementations§
Source§impl AlgorithmName for Fsb160Core
impl AlgorithmName for Fsb160Core
Source§impl BlockSizeUser for Fsb160Core
impl BlockSizeUser for Fsb160Core
Source§impl BufferKindUser for Fsb160Core
impl BufferKindUser for Fsb160Core
Source§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
Source§impl Clone for Fsb160Core
impl Clone for Fsb160Core
Source§fn clone(&self) -> Fsb160Core
fn clone(&self) -> Fsb160Core
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Fsb160Core
impl Debug for Fsb160Core
Source§impl Default for Fsb160Core
impl Default for Fsb160Core
Source§impl Drop for Fsb160Core
impl Drop for Fsb160Core
Source§impl FixedOutputCore for Fsb160Core
impl FixedOutputCore for Fsb160Core
Source§fn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>,
)
fn finalize_fixed_core( &mut self, buffer: &mut Buffer<Self>, out: &mut Output<Self>, )
Finalize state using remaining data stored in the provided block buffer,
write result into provided array and leave
self in a dirty state.Source§impl OutputSizeUser for Fsb160Core
impl OutputSizeUser for Fsb160Core
Source§impl SerializableState for Fsb160Core
impl SerializableState for Fsb160Core
Source§type SerializedStateSize = <UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0> as Add<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>>::Output
type SerializedStateSize = <UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0> as Add<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>>::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 UpdateCore for Fsb160Core
impl UpdateCore for Fsb160Core
Source§fn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.
impl HashMarker for Fsb160Core
impl ZeroizeOnDrop for Fsb160Core
Available on crate feature
zeroize only.Auto Trait Implementations§
impl Freeze for Fsb160Core
impl RefUnwindSafe for Fsb160Core
impl Send for Fsb160Core
impl Sync for Fsb160Core
impl Unpin for Fsb160Core
impl UnsafeUnpin for Fsb160Core
impl UnwindSafe for Fsb160Core
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.