[−][src]Struct tiny_keccak::KangarooTwelve
The KangarooTwelve
hash function defined here
.
Usage
[dependencies]
tiny-keccak = { version = "2.0.0", features = ["k12"] }
Methods
impl<T> KangarooTwelve<T>
[src]
pub fn new(custom_string: T) -> Self
[src]
Creates new KangarooTwelve
hasher with a security level of 128 bits.
Trait Implementations
impl<T: Clone> Clone for KangarooTwelve<T>
[src]
fn clone(&self) -> KangarooTwelve<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: AsRef<[u8]>> Hasher for KangarooTwelve<T>
[src]
impl<T: AsRef<[u8]>> IntoXof for KangarooTwelve<T>
[src]
type Xof = KangarooTwelveXof
A type implementing [Xof
], eXtendable-output function interface. Read more
fn into_xof(self) -> KangarooTwelveXof
[src]
Auto Trait Implementations
impl<T> Send for KangarooTwelve<T> where
T: Send,
T: Send,
impl<T> Sync for KangarooTwelve<T> where
T: Sync,
T: Sync,
impl<T> Unpin for KangarooTwelve<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,