PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Namespaces | Typedefs | Functions | Variables
matching.cpp File Reference
#include <zxcvbn/matching.hpp>
#include <zxcvbn/adjacency_graphs.hpp>
#include <zxcvbn/common.hpp>
#include <zxcvbn/optional.hpp>
#include <zxcvbn/frequency_lists.hpp>
#include <zxcvbn/scoring.hpp>
#include <zxcvbn/util.hpp>
#include <algorithm>
#include <array>
#include <functional>
#include <initializer_list>
#include <regex>
#include <sstream>
#include <string>
#include <vector>
#include <unordered_map>
#include <utility>
#include <unordered_set>
Include dependency graph for matching.cpp:

Go to the source code of this file.

Classes

struct  zxcvbn::DMY
 

Namespaces

 zxcvbn
 

Typedefs

using zxcvbn::date_t = unsigned
 

Functions

std::vector< Match > zxcvbn::omnimatch (const std::string &password, const std::vector< std::string > &ordered_list)
 
std::vector< Match > zxcvbn::dictionary_match (const std::string &password, const RankedDicts &ranked_dictionaries)
 
std::vector< Match > zxcvbn::reverse_dictionary_match (const std::string &password, const RankedDicts &ranked_dictionaries)
 
std::unordered_map< std::string, std::vector< std::string > > zxcvbn::relevant_l33t_subtable (const std::string &password, const std::vector< std::pair< std::string, std::vector< std::string >>> &table)
 
std::vector< std::unordered_map< std::string, std::string > > zxcvbn::enumerate_l33t_subs (const std::unordered_map< std::string, std::vector< std::string >> &table)
 
std::vector< Match > zxcvbn::l33t_match (const std::string &password, const RankedDicts &ranked_dictionaries, const std::vector< std::pair< std::string, std::vector< std::string >>> &l33t_table)
 
std::vector< Match > zxcvbn::spatial_match (const std::string &password, const Graphs &graphs)
 
std::vector< Match > zxcvbn::repeat_match (const std::string &password)
 
std::vector< Match > zxcvbn::sequence_match (const std::string &password)
 
std::vector< Match > zxcvbn::regex_match (const std::string &password, const std::vector< std::pair< RegexTag, std::regex >> &regexen)
 
std::vector< Match > zxcvbn::date_match (const std::string &password)
 

Variables

const std::vector< std::pair< std::string, std::vector< std::string > > > zxcvbn::L33T_TABLE
 
const std::vector< std::pair< RegexTag, std::regex > > zxcvbn::REGEXEN
 
const auto zxcvbn::DATE_MAX_YEAR = 2050
 
const auto zxcvbn::DATE_MIN_YEAR = 1000
 
constexpr std::initializer_list< std::pair< int, int > > zxcvbn::DATE_SPLITS []
 
const auto zxcvbn::SHIFTED_RX = std::regex("[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?]")
 
const auto zxcvbn::MAX_DELTA = 5