ReverseMatch class
A match for a reversed dictionary word.
- Inheritance
-
- Object
- BaseMatch
- DictionaryMatch
- ReverseMatch
Constructors
- ReverseMatch.new({required String password, required int start, required int end, required String matchedWord, required int rank, required Dictionary dictionary, int? levenshteinDistance, String? levenshteinDistanceEntry})
- Creates a match.
Properties
- dictionary → Dictionary
-
The dictionary containing the matchedWord.
finalinherited
- end → int
-
The index in the password after the last character of the token.
finalinherited
- estimatedGuesses → double
-
Should return the estimated number of guesses for the token.
no setterinherited
- extraVariations → double
-
Optional guess multiplier.
no setteroverride
- guesses → double
-
The number of guesses for the token.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
The length of the token.
no setterinherited
- levenshteinDistance → int?
-
The Levenshtein distance between the matchedWord and
the levenshteinDistanceEntry.
finalinherited
- levenshteinDistanceEntry → String?
-
The word from the dictionary used to calculate
the levenshteinDistance.
finalinherited
- matchedWord → String
-
The matched word.
finalinherited
- minGuesses → double
-
The minimum number of guesses for the token.
no setterinherited
- minGuessesForMultiChar → double
-
The minimum number of guesses for a match longer than 1.
no setterinherited
- minGuessesForSingleChar → double
-
The minimum number of guesses for a match of length 1.
no setterinherited
- password → String
-
The password that is being matched.
finalinherited
- rank → int
-
The frequency rank of the matchedWord.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
The index in the password where the token starts.
finalinherited
- token → String
-
The matched part of the password.
no setterinherited
- uppercaseVariations → double
-
Guess multiplier for capital letters.
no setterinherited
Methods
-
feedback(
{required bool isSoleMatch}) → Feedback? -
Should return the warning and suggestions regarding this match.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toL33tMatch(
{required String password, required int start, required int end, required List< PasswordChange> changes, required String changesDisplay}) → L33tMatch -
Converts the match to a L33tMatch.
inherited
-
toReverseMatch(
) → ReverseMatch -
Converts the match to a ReverseMatch.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited