pub fn validate(password: &str) -> Result<(), PasswordPolicyError>Expand description
Combined “is this password OK?” check — length first, then HIBP. HIBP failures are propagated; the caller decides fail-open/closed.
pub fn validate(password: &str) -> Result<(), PasswordPolicyError>Combined “is this password OK?” check — length first, then HIBP. HIBP failures are propagated; the caller decides fail-open/closed.