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

pub async 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).