zxcvbn3
Version:
realistic password strength estimation
39 lines (38 loc) • 1.6 kB
TypeScript
import { Options } from './main';
export declare class Matching {
static empty(obj: any): boolean;
static extend(lst: any, lst2: any): any;
static translate(string: any, chr_map: any): string;
static mod(n: any, m: any): number;
static sorted(matches: any): any;
static omnimatch(password: string, options: Options): any;
static dictionary_match(password: string, _ranked_dictionaries?: any): any;
static reverse_dictionary_match(password: string, _ranked_dictionaries: any): any;
static set_user_input_dictionary(ordered_list: any): any;
static relevant_l33t_subtable(password: string, table: any): any;
static enumerate_l33t_subs(table: any): any[];
static l33t_match(password: string, _ranked_dictionaries?: any, _l33t_table?: any): any;
static spatial_match(password: string, additionalGraphs: {
[n: string]: {
layout: string;
slanted: boolean;
};
}): any;
static SHIFTED_RX: RegExp;
static spatial_match_helper(password: string, graph: any, graph_name: any): any[];
static repeat_match(password: string, options: any): any[];
static MAX_DELTA: 5;
static sequence_match(password: string): any[];
static regex_match(password: string): any;
static date_match(password: string): any;
static map_ints_to_dmy(ints: any): {
year: any;
month: any;
day: any;
};
static map_ints_to_dm(ints: any): {
day: any;
month: any;
};
static two_to_four_digit_year(year: number): number;
}