[][src]Function rs_password_utils::pwned::blocking::is_pwned

pub fn is_pwned(pass: &str) -> Result<bool, PasswordUtilsError>

Returns Ok(true) if 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).