Struct tari_crypto::hash::sha3::Sha3[][src]

pub struct Sha3(_);
👎 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 Sha3_256 hasher directly and this wrapper will be removed.

A convenience wrapper produce 256 bit hashes from Blake2b

Implementations

impl Sha3[src]

pub fn new() -> Self[src]

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

Trait Implementations

impl Clone for Sha3[src]

impl Debug for Sha3[src]

impl Default for Sha3[src]

impl FixedOutput for Sha3[src]

type OutputSize = U32

impl Input for Sha3[src]

impl Reset for Sha3[src]

Auto Trait Implementations

impl RefUnwindSafe for Sha3

impl Send for Sha3

impl Sync for Sha3

impl Unpin for Sha3

impl UnwindSafe for Sha3

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<D> Digest for D where
    D: Input + FixedOutput + Reset + Clone + Default
[src]

type OutputSize = <D as FixedOutput>::OutputSize

impl<D> DynDigest for D where
    D: 'static + Input + FixedOutput + Reset + Clone
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,