Skip to main content

hash_files_parallel

Function hash_files_parallel 

Source
pub fn hash_files_parallel(
    paths: &[&Path],
    algo: HashAlgorithm,
) -> Vec<Result<String>> 
Expand description

Batch-hash multiple files with SHA-256/MD5 using rayon parallel processing. Pre-loads all files in parallel, then hashes them in parallel. Returns results in input order.