PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Namespaces | Macros | Functions | Variables
scoring.hpp File Reference
#include <zxcvbn/common.hpp>
#include <functional>
#include <memory>
#include <string>
#include <regex>
#include <vector>
Include dependency graph for scoring.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zxcvbn::ScoringResult
 

Namespaces

 zxcvbn
 

Macros

#define MATCH_FN(title, upper, lower)   guesses_t lower##_guesses(const Match &);
 

Functions

template<class T >
zxcvbn::nCk (T n, T k)
 
ScoringResult zxcvbn::most_guessable_match_sequence (const std::string &password, std::vector< Match > &matches, bool exclude_additive)
 
guesses_t zxcvbn::estimate_guesses (Match &match, const std::string &password)
 
 zxcvbn::MATCH_RUN ()
 
guesses_t zxcvbn::uppercase_variations (const Match &match)
 
guesses_t zxcvbn::l33t_variations (const Match &match)
 

Variables

const auto zxcvbn::START_UPPER = std::regex(R"(^[A-Z][^A-Z]+$)")
 
const auto zxcvbn::END_UPPER = std::regex(R"(^[^A-Z]+[A-Z]$)")
 
const auto zxcvbn::ALL_UPPER = std::regex(R"(^[^a-z]+$)")
 
const auto zxcvbn::ALL_LOWER = std::regex(R"(^[^A-Z]+$)")
 
const guesses_t zxcvbn::MIN_YEAR_SPACE = 20
 
const auto zxcvbn::REFERENCE_YEAR = 2016
 

Macro Definition Documentation

◆ MATCH_FN

#define MATCH_FN (   title,
  upper,
  lower 
)    guesses_t lower##_guesses(const Match &);

Definition at line 50 of file scoring.hpp.