Function checkasum::hashing::hash_matches
source · pub fn hash_matches(file_hash: &str, correct_hash: &str) -> bool
Expand description
Checks if hash generated from file matches the documented expected hash
§Examples
use checkasum::hashing::hash_matches;
hash_matches("abcd", "abcd");