pub fn parallel_hash(data: &[u8]) -> [u8; 32]Expand description
Parallel hash computation for large data
Splits the input into chunks and computes hashes in parallel using multiple threads, then combines the results using BLAKE3’s tree hashing.
§Arguments
data- Input data to hash
§Returns
32-byte BLAKE3 hash digest
§Performance
For data larger than 16KB, this function uses parallel processing. Smaller data uses single-threaded hashing for lower overhead.