pub fn digest_file(path: &str) -> Result<String> {
    let data = fs::read_to_string(&path)
        .context(format!("Failed to read string from file at: {}", path))?;
    Ok(str_to_sha3_256(&data))
}
// returns sha3_256 digest/hash of a file as a string.
returns sha3_256 digest/hash of a file as a string.
returns sha3_256 digest / hash of a file as a string .
pub fn digest_file(path: &str) -> Result<String> {
    let data = fs::read_to_string(&path)
        .context(format!("Failed to read string from file at: {}", path))?;
    Ok(str_to_sha3_256(&data))
}
pub fn digest_file ( path : & str ) -> Result < String > { let data = fs :: read_to_string ( & path ) . context ( format ! ( " " path ) ) ? ; Ok ( str_to_sha3_256 ( & data ) ) }
returns sha3_256 digest/hash of a file as a string.
returns sha3_256 digest / hash of a file as a string .
path
&str