Function blake3::hash

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

The default hash function.

For an incremental version that accepts multiple writes, see Hasher::update.

For output sizes other than 32 bytes, see Hasher::finalize_xof and OutputReader.

This function is always single-threaded. For multithreading support, see Hasher::update_rayon.