Function blake2b_simd::blake2bp::blake2bp

source ·
pub fn blake2bp(input: &[u8]) -> Hash
Expand description

Compute the BLAKE2bp hash of a slice of bytes all at once, using default parameters.

§Example

let expected = "8ca9ccee7946afcb686fe7556628b5ba1bf9a691da37ca58cd049354d99f3704\
                2c007427e5f219b9ab5063707ec6823872dee413ee014b4d02f2ebb6abb5f643";
let hash = blake2bp(b"foo");
assert_eq!(expected, &hash.to_hex());