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. Single open + fstat. Uses read() for small files, mmap for large.