Blake2b

Trait Blake2b 

Source
pub trait Blake2b: Send + Sync {
    // Required method
    fn blake2b<T: AsRef<[u8]>>(data: T) -> [u8; 32];
}
Expand description

Hash function trait.

Required Methods§

Source

fn blake2b<T: AsRef<[u8]>>(data: T) -> [u8; 32]

A function producing a hash from a list of u8.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§