Struct tari_crypto::hash::k12::K12[][src]

pub struct K12(_);
👎 Deprecated:

This wrapper becomes obsolete once tari_crypto updates to digest v0.9, which is dependent on Dalek libraries updating to digest 0.9. When that happens, you can use the underlying KangarooTwelve hasher directly and this wrapper will be removed.

A convenience wrapper produce 256 bit hashes from Kangaroo12

Implementations

impl K12[src]

pub fn new() -> Self[src]

pub fn result(self) -> GenericArray<u8, U32>[src]

Trait Implementations

impl Debug for K12[src]

impl Default for K12[src]

impl FixedOutput for K12[src]

type OutputSize = U32

impl Input for K12[src]

impl Reset for K12[src]

Auto Trait Implementations

impl RefUnwindSafe for K12

impl Send for K12

impl Sync for K12

impl Unpin for K12

impl UnwindSafe for K12

Blanket Implementations

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

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

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

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized
[src]

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T> InitializableFromZeroed for T where
    T: Default
[src]

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,