pub fn calculate_file_checksum<P: AsRef<Path>>( path: P, algorithm: ChecksumAlgorithm, ) -> Result<String>
Calculate a checksum for a file
path
algorithm
The checksum as a hex encoded string