pub fn compute_checksum( path: &Path, algorithm: &ChecksumAlgorithm, ) -> Result<String, KgetError>
Compute the checksum of a file using the specified algorithm.
Returns the lowercase hex-encoded digest.