dart_zxcvbn library
Classes
- AdjacencyGraph
- BruteForceMatch
- BruteForceMatcher
- This is not a real matcher, it's just a placeholder for bruteforce matches that are being handled in dictionary matcher. The sole purpose of this class is to handle bruteforce scoring.
- CrackTimesDisplay
- CrackTimesSeconds
- DateMatch
- DateMatcher
- DefaultOptions
- This class defines the default options for the Zxcvbn class.
- Dictionary
- DictionaryGuess
- DictionaryMatch
- DictionaryMatcher
- DictionaryMatcherBase
- DictionaryScore
- EstimatedGuess
- Feedback
- FindLevenshteinDistanceResult
- LanguagePack
- Match
- Matcher
- Matching
- MostGuessableMatchSequence
- Options
- This class is used to define the options for the Zxcvbn class.
- RegexMatch
- RegexMatcher
- RepeatMatch
- RepeatMatcher
- Result
- ReverseDictionaryMatcher
- ScoringHelper
- ScoringHelperOptimal
- SeparatorMatch
- SeparatorMatcher
- SequenceMatch
- SequenceMatcher
- SpatialGuess
- SpatialMatch
- SpatialMatcher
- TimeEstimates
- Translations
- TranslationSuggestions
- TranslationTimeEstimation
- @deprecated Use TranslationTimeEstimationIntl instead.
- TranslationTimeEstimationIntl
- TranslationWarnings
- Zxcvbn
Constants
- BRUTEFORCE_CARDINALITY → const double
- DATE_MAX_YEAR → const int
- DATE_MIN_YEAR → const int
-
DATE_SPLITS
→ const Map<
int, List< List< >int> > -
dateSplits
→ const Map<
int, List< List< >int> > -
defaultL33tTable
→ const Map<
String, List< String> > - MIN_GUESSES_BEFORE_GROWING_SEQUENCE → const int
- MIN_SUBMATCH_GUESSES_MULTI_CHAR → const double
- MIN_SUBMATCH_GUESSES_SINGLE_CHAR → const double
- MIN_YEAR_SPACE → const int
-
SEPERATOR_CHARS
→ const List<
String>
Properties
- ALL_DIGIT → RegExp
-
final
- ALL_LOWER → RegExp
-
final
- ALL_LOWER_INVERTED → RegExp
-
final
- ALL_UPPER → RegExp
-
final
- ALL_UPPER_INVERTED → RegExp
-
final
- ALPHA_INVERTED → RegExp
-
final
- END_UPPER → RegExp
-
final
- ONE_LOWER → RegExp
-
final
- ONE_UPPER → RegExp
-
final
- REFERENCE_YEAR → int
-
final
-
REGEXEN
→ Map<
String, RegExp> -
final
- SEPERATOR_CHAR_COUNT → int
-
final
- START_UPPER → RegExp
-
final
- zxcvbn ↔ Zxcvbn
-
getter/setter pair
Functions
-
estimateGuesses(
Match match, String password) → EstimatedGuessesMixin -
factorial(
int _num) → double -
findLevenshteinDistance(
String password, Map< String, int> rankedDictionary, int threshold) → FindLevenshteinDistanceResult? -
getMinGuesses(
Match match, String password) → double -
getScoring(
String name, Match match) → dynamic -
getUsedThreshold(
String password, String entry, int threshold) → int -
levenshtein(
String s, String t) → int - Levenshtein algorithm implementation based on: http://en.wikipedia.org/wiki/Levenshtein_distance#Iterative_with_two_matrix_rows
-
log10(
num x) → double -
mostGuessableMatchSequence(
String password, List< Match> matches, [bool excludeAdditive = false]) → MostGuessableMatchSequence -
nCk(
num n, num k) → double - binomial coefficients
Typedefs
- TranslationTimeEstimationIntlPlurals = String Function(int value)