pub fn blake3(data: &[u8]) -> [u8; 32]Available on (crate features
hash-blake3 or hash-sha2) and crate feature hash-blake3 only.Expand description
Compute a 32-byte BLAKE3 digest of data.
ยงExample
use crypt_io::hash;
let d = hash::blake3(b"abc");
assert_eq!(d.len(), 32);