Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinEntropyMatch ¶
type MinEntropyMatch struct { Password string Entropy float64 MatchSequence []match.Match CrackTime float64 CrackTimeDisplay string Score int CalcTime float64 }
MinEntropyMatch is the lowest entropy match found
func MinimumEntropyMatchSequence ¶
func MinimumEntropyMatchSequence(password string, matches []match.Match) MinEntropyMatch
MinimumEntropyMatchSequence returns the minimum entropy
Takes a list of overlapping matches, returns the non-overlapping sublist with minimum entropy. O(nm) dp alg for length-n password with m candidate matches.
Click to show internal directories.
Click to hide internal directories.