Rxova
Skip to content

PasswordStrength

The estimator’s verdict. Returned by estimateStrength.

effectiveLength: number;

Length after collapsing runs and repeats — what the entropy is based on.


entropy: number;

Estimated bits of entropy after penalties. Not a security guarantee — an offline-attack cost model would need the attacker’s wordlist, which no client-side estimator has. Treat it as a comparator, not a measurement.


penalties: PasswordPenaltyCode[];

Machine-readable reasons the score is not higher. Ordered by impact.


score: PasswordScore;

0–4 bucket.