ScoringHelper class

Constructors

ScoringHelper({required String password, required bool excludeAdditive})

Properties

excludeAdditive bool
final
hashCode int
The hash code for this object.
no setterinherited
optimal ScoringHelperOptimal
final
password String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bruteforceUpdate(int passwordCharIndex) → void
helper: evaluate bruteforce matches ending at passwordCharIndex.
makeBruteforceMatch(int i, int j) BruteForceMatch
helper: make bruteforce match objects spanning i to j, inclusive.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unwind(int passwordLength) List<EstimatedGuessesMixin>
helper: step backwards through optimal.m starting at the end, constructing the final optimal match sequence.
update(Match match, int sequenceLength) → void
helper: considers whether a length-sequenceLength sequence ending at match m is better (fewer guesses) than previously encountered sequences, updating state if so.

Operators

operator ==(Object other) bool
The equality operator.
inherited