[][src]Struct tiny_keccak::KangarooTwelve

pub struct KangarooTwelve<T> { /* fields omitted */ }

The KangarooTwelve extendable-output and hash function defined here.

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: AsRef<[u8]> + Clone> Hasher for KangarooTwelve<T>[src]

impl<T: Clone> Clone for KangarooTwelve<T>[src]

Auto Trait Implementations

impl<T> Unpin for KangarooTwelve<T> where
    T: Unpin

impl<T> Send for KangarooTwelve<T> where
    T: Send

impl<T> Sync for KangarooTwelve<T> where
    T: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]