check_pwned

Function check_pwned 

Source
pub fn check_pwned(pass: &str) -> Result<PwnedResponse, PasswordUtilsError>
Expand description

Returns a Result as a result for whether the password is found in the pwned passwords list. The call leverages the k-anonimity API and therefore, the password is not used in the API call in any form (not even hashed).