[][src]Function passwords::scorer::score

pub fn score(analyzed_password: &AnalyzedPassword) -> f64

Score a password by using its analysis.

  • 0 ~ 20 is very dangerous (may be cracked within few seconds)
  • 20 ~ 40 is dangerous
  • 40 ~ 60 is very weak
  • 60 ~ 80 is weak
  • 80 ~ 90 is good
  • 90 ~ 95 is strong
  • 95 ~ 99 is very strong
  • 99 ~ 100 is invulnerable