Skip to main content

sha256_file

Function sha256_file 

Source
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.