pub struct Tiger { /* private fields */ }Expand description
The Tiger hasher
Implementations§
Trait Implementations§
Source§impl BlockInput for Tiger
impl BlockInput for Tiger
Source§impl FixedOutput for Tiger
impl FixedOutput for Tiger
type OutputSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>
Source§fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve the digest result. This method consumes digest instance.
Auto Trait Implementations§
impl Freeze for Tiger
impl RefUnwindSafe for Tiger
impl Send for Tiger
impl Sync for Tiger
impl Unpin for Tiger
impl UnwindSafe for Tiger
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<D> Digest for D
impl<D> Digest for D
Source§fn input(&mut self, input: &[u8])
fn input(&mut self, input: &[u8])
Digest input data. This method can be called repeatedly
for use with streaming messages.
Source§fn result(self) -> GenericArray<u8, Self::OutputSize>
fn result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve the digest result. This method consumes digest instance.
Source§fn digest(data: &[u8]) -> GenericArray<u8, Self::OutputSize>
fn digest(data: &[u8]) -> GenericArray<u8, Self::OutputSize>
Convenience function to compute hash of the
data. It will handle
hasher creation, data feeding and finalization. Read moreSource§fn digest_str(str: &str) -> GenericArray<u8, Self::OutputSize>
fn digest_str(str: &str) -> GenericArray<u8, Self::OutputSize>
Convenience function to compute hash of the string. It’s equivalent to
digest(input_string.as_bytes()).