pub fn check_hash(password: &str, hash: &str) -> bool
Expand description

Check whether a given password matches a given generated hash. Use this function for password authentication.