[][src]Struct blake2::Blake2s

pub struct Blake2s { /* fields omitted */ }

Blake2s instance with a fixed output.

Implementations

impl Blake2s[src]

pub fn with_params(key: &[u8], salt: &[u8], persona: &[u8]) -> Self[src]

Creates a new hashing context with the full set of sequential-mode parameters.

Trait Implementations

impl BlockInput for Blake2s[src]

type BlockSize = U64

Block size

impl Clone for Blake2s[src]

impl Debug for Blake2s[src]

impl Default for Blake2s[src]

impl FixedOutputDirty for Blake2s[src]

type OutputSize = U32

Output size for fixed output digest

impl Mac for Blake2s[src]

type OutputSize = U32

Output size of the [Mac]

impl NewMac for Blake2s[src]

type KeySize = U32

Key size in bytes with which cipher guaranteed to be initialized.

impl Reset for Blake2s[src]

impl Update for Blake2s[src]

impl Write for Blake2s[src]

Auto Trait Implementations

impl RefUnwindSafe for Blake2s

impl Send for Blake2s

impl Sync for Blake2s

impl Unpin for Blake2s

impl UnwindSafe for Blake2s

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

type OutputSize = <D as FixedOutput>::OutputSize

Output size for Digest

impl<D> DynDigest for D where
    D: 'static + FixedOutput + Update + Reset + Clone
[src]

impl<D> FixedOutput for D where
    D: FixedOutputDirty + Reset
[src]

type OutputSize = <D as FixedOutputDirty>::OutputSize

Output size for fixed output digest

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

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

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.