Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс WeakPassword

Открытые статические члены

static createIndex (string $dataFile, string $path)
 
static exists (string $password, string $path)
 

Открытые атрибуты

const MIN_PASSWORD_LENGTH = 6
 

Подробное описание

См. определение в файле weakpassword.php строка 14

Методы

◆ createIndex()

static createIndex ( string $dataFile,
string $path )
static

Creates a set of indexed files from one source file.

Аргументы
string$dataFileThe absolute path to the source file.
string$pathThe absolute path to the folder which contains the indexed files. If the folder doesn't exist it'll be created.
Возвращает
bool

См. определение в файле weakpassword.php строка 25

◆ exists()

static exists ( string $password,
string $path )
static

Checks if a password exists in the database.

Аргументы
string$passwordThe password.
string$pathThe absolute path to the folder which contains the indexed files.
Возвращает
bool

См. определение в файле weakpassword.php строка 69

Данные класса

◆ MIN_PASSWORD_LENGTH

const MIN_PASSWORD_LENGTH = 6

См. определение в файле weakpassword.php строка 16