#ifndef __ZXCVBN__SCORING_HPP #define __ZXCVBN__SCORING_HPP #include <zxcvbn/common.hpp> #include <functional> #include <memory> #include <string> #include <regex> #include <vector> namespace zxcvbn { const std::regex& START_UPPER(); const std::regex& END_UPPER(); const std::regex& ALL_UPPER(); const std::regex& ALL_LOWER(); const guesses_t MIN_YEAR_SPACE = …; const auto REFERENCE_YEAR = …; struct ScoringResult { … }; template<class T> T nCk(T n, T k) { … } ScoringResult most_guessable_match_sequence(const std::string & password, std::vector<Match> & matches, bool exclude_additive = false); guesses_t estimate_guesses(Match & match, const std::string & password); #define MATCH_FN … MATCH_RUN(…) #undef MATCH_FN guesses_t uppercase_variations(const Match & match); guesses_t l33t_variations(const Match & match); } #endif