$password
, string $username
= "" , string $gecos
= "" , resource $dictionary
= NULL
)Performs an obscure check with the given password on the specified dictionary. The alternative signature also takes into account the username and the GECOS information.
The crack lib dictionary. If not specified, the last opened dictionary is used.
The password to be checked.
The username of the account with the password.
The GECOS information associated with the user account.
Returns TRUE
if password
is strong, or FALSE
otherwise.
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.
The username
, gecos
and dictionary
parameters were added to the alternative signature.
Please login to continue.