Skip to main content

sha256_file

Function sha256_file 

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

SHA-256 of a regular file (lowercase hex). Callers that accept untrusted paths must reject symlinks with symlink_metadata first.