Struct tari_crypto::hash::blake3::Blake3[][src]

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

A convenience wrapper produce 256 bit hashes from Blake3

Implementations

impl Blake3[src]

pub fn new() -> Self[src]

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

Trait Implementations

impl Clone for Blake3[src]

impl Debug for Blake3[src]

impl Default for Blake3[src]

impl FixedOutput for Blake3[src]

type OutputSize = U32

impl Input for Blake3[src]

impl Reset for Blake3[src]

Auto Trait Implementations

impl RefUnwindSafe for Blake3

impl Send for Blake3

impl Sync for Blake3

impl Unpin for Blake3

impl UnwindSafe for Blake3

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