pub fn hash(input: &[u8]) -> Hash
Hash a slice of input bytes all at once. If the std feature is enabled, as it is by default, this will use multiple threads via Rayon.
std
let hash_at_once = bao::hash::hash(b"input bytes");