(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.
此函数是实验性的。 此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本扩展风险自担 。
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.