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.
Return值
Returns TRUE if password is strong, or FALSE otherwise.