spin_common::sha256

Function hex_digest_from_file

Source
pub fn hex_digest_from_file(path: impl AsRef<Path>) -> Result<String>
Expand description

Return the hex SHA-256 digest of the given file.