pub struct CustomKt<const RATE: usize> { /* private fields */ }Expand description
Customized KangarooTwelve hasher generic over rate with owned customization string.
Trait Implementations§
Source§impl<const RATE: usize> AlgorithmName for CustomKt<RATE>
impl<const RATE: usize> AlgorithmName for CustomKt<RATE>
Source§impl<const RATE: usize> CustomizedInit for CustomKt<RATE>
impl<const RATE: usize> CustomizedInit for CustomKt<RATE>
Source§fn new_customized(customization: &[u8]) -> Self
fn new_customized(customization: &[u8]) -> Self
Create new hasher instance with the given customization string.
Source§impl<const RATE: usize> ExtendableOutput for CustomKt<RATE>
impl<const RATE: usize> ExtendableOutput for CustomKt<RATE>
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<const RATE: usize> ExtendableOutputReset for CustomKt<RATE>
impl<const RATE: usize> ExtendableOutputReset for CustomKt<RATE>
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.impl<const RATE: usize> HashMarker for CustomKt<RATE>
Auto Trait Implementations§
impl<const RATE: usize> Freeze for CustomKt<RATE>
impl<const RATE: usize> RefUnwindSafe for CustomKt<RATE>
impl<const RATE: usize> Send for CustomKt<RATE>
impl<const RATE: usize> Sync for CustomKt<RATE>
impl<const RATE: usize> Unpin for CustomKt<RATE>
impl<const RATE: usize> UnsafeUnpin for CustomKt<RATE>
impl<const RATE: usize> UnwindSafe for CustomKt<RATE>
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> TryCustomizedInit for Twhere
T: CustomizedInit,
impl<T> TryCustomizedInit for Twhere
T: CustomizedInit,
Source§type Error = Infallible
type Error = Infallible
Error returned for invalid customization strings.
Source§fn try_new_customized(
customization: &[u8],
) -> Result<T, <T as TryCustomizedInit>::Error>
fn try_new_customized( customization: &[u8], ) -> Result<T, <T as TryCustomizedInit>::Error>
Create new hasher instance with the given customization string. Read more