pub fn blake2sp(input: &[u8]) -> Hash
Expand description

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

Example

let expected = "050dc5786037ea72cb9ed9d0324afcab03c97ec02e8c47368fc5dfb4cf49d8c9";
let hash = blake2sp(b"foo");
assert_eq!(expected, &hash.to_hex());