(PECL crack >= 0.1)
crack_check — Performs an obscure check with the given password
$dictionary
, string $password
)$password
)Performs an obscure check with the given password on the specified dictionary.
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
dictionary
The crack lib dictionary. If not specified, the last opened dictionary is used.
password
The tested password.
Returns TRUE
if password
is strong, or FALSE
otherwise.