Skip to main content

blake2b_hash_file

Function blake2b_hash_file 

Source
pub fn blake2b_hash_file(path: &Path, output_bytes: usize) -> Result<String>
Expand description

Hash a file with BLAKE2b variable output length. Uses mmap for large files (zero-copy), single-read for small files, and streaming read as fallback.