pub fn compare(password: &str, expected: &Hash) -> Result<bool, CompareError>
Compares a password to an existing hash.