crack_check
(PHP 4 >= 4.0.5, PECL crack:0.1-0.4)
crack_check — Performs an obscure check with the given password
说明
bool crack_check
( resource $dictionary
, string $password
)
bool crack_check
( string $password
)
Performs an obscure check with the given password on the specified dictionary.
Warning
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 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.