Security
class Security
Class Security.
Constants
PASSWORD_SECURE_REGEX |
|
PASSWORD_CRACK_DICT |
|
Methods
static
string
static
string
getRandomHash(
string $algorithm = 'sha512',
int $entropy = 1000000,
bool|false $raw = false)
No description
static
bool
isSecurePassword(
string $password,
string $username = '',
bool|false $throwException = false)
No description
static
string
getRandomPassword(
int $length = 12)
No description