 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file. 1 #ifndef __ZXCVBN__SCORING_HPP
2 #define __ZXCVBN__SCORING_HPP
15 const auto END_UPPER = std::regex(R
"(^[^A-Z]+[A-Z]$)");
27 std::vector<std::reference_wrapper<Match>>
sequence;
36 for (T d = 1; d <= k; ++d) {
45 std::vector<Match> & matches,
46 bool exclude_additive =
false);
50 #define MATCH_FN(title, upper, lower) \
51 guesses_t lower##_guesses(const Match &);
const guesses_t MIN_YEAR_SPACE
ScoringResult most_guessable_match_sequence(const std::string &password, std::vector< Match > &matches, bool exclude_additive)
guesses_t estimate_guesses(Match &match, const std::string &password)
void const uint64_t uint64_t * r
std::vector< std::unique_ptr< Match > > bruteforce_matches
const auto REFERENCE_YEAR
zxcvbn_guesses_t guesses_t
guesses_log10_t guesses_log10
guesses_t l33t_variations(const Match &match)
std::vector< std::reference_wrapper< Match > > sequence
guesses_t uppercase_variations(const Match &match)