[][src]Struct crypto_api_blake2::Blake2b

pub struct Blake2b(_);

An implementation of Blake2b

Methods

impl Blake2b[src]

pub fn hash() -> Box<dyn Hash>[src]

Creates a Hash instance with Blake2b as underlying hash

pub fn varlen_hash() -> Box<dyn VarlenHash>[src]

Creates a VarlenHash instance with Blake2b as underlying hash

pub fn mac() -> Box<dyn Mac>[src]

Creates a Mac instance with Blake2b as underlying MAC

pub fn varlen_mac() -> Box<dyn VarlenMac>[src]

Creates a VarlenMac instance with Blake2b as underlying MAC

pub fn kdf() -> Box<dyn Kdf>[src]

Creates a Kdf instance with Blake2b as underlying KDF

pub fn streaming_hash() -> Box<dyn StreamingHash>[src]

Creates a StreamingHash instance with Blake2b as underlying hash

pub fn streaming_varlen_hash() -> Box<dyn StreamingVarlenHash>[src]

Creates a StreamingVarlenHash instance with Blake2b as underlying hash

pub fn streaming_mac() -> Box<dyn StreamingMac>[src]

Creates a StreamingMac instance with Blake2b as underlying MAC

pub fn streaming_varlen_mac() -> Box<dyn StreamingVarlenMac>[src]

Creates a StreamingVarlenMac instance with Blake2b as underlying MAC

Trait Implementations

impl SecKeyGen for Blake2b[src]

impl Hash for Blake2b[src]

impl VarlenHash for Blake2b[src]

impl StreamingHash for Blake2b[src]

impl StreamingVarlenHash for Blake2b[src]

impl Kdf for Blake2b[src]

impl Mac for Blake2b[src]

impl VarlenMac for Blake2b[src]

impl StreamingMac for Blake2b[src]

impl StreamingVarlenMac for Blake2b[src]

Auto Trait Implementations

impl Send for Blake2b

impl Sync for Blake2b

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]