pub fn sha256_file(path: impl AsRef<Path>) -> Result<String, PriorError>Expand description
Computes the lowercase hex SHA-256 digest of a file on disk.
ยงErrors
Returns PriorError::Io if opening or reading path fails.
pub fn sha256_file(path: impl AsRef<Path>) -> Result<String, PriorError>Computes the lowercase hex SHA-256 digest of a file on disk.
Returns PriorError::Io if opening or reading path fails.