Skip to main content

sha256_of_file

Function sha256_of_file 

Source
pub fn sha256_of_file(path: &Path) -> Result<String>
Expand description

Compute the lowercase-hex SHA-256 of a file, reading in chunks so large artifacts don’t need to fit in memory.