[][src]Function rs_password_utils::pwned::check_pwned

pub async fn check_pwned<'_>(
    pass: &'_ str
) -> Result<PwnedResponse, PasswordUtilsError>

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