estimateCommonDictionaryStrength function

double estimateCommonDictionaryStrength(
  1. String password
)

Estimates the strength of a password against checking a list of the most common passwords.

Implementation

double estimateCommonDictionaryStrength(String password) {
  return _dictionary.contains(password) ? 0.0 : 1.0;
}