in src/mapping.rs [40:48]
fn get_digest(file: &Path, uppercase: bool) -> common::Result<String> {
let data = utils::read(file)?;
let sha = Sha512::digest(data);
Ok(if uppercase {
format!("{sha:X}")
} else {
format!("{sha:x}")
})
}