(PECL crack >= 0.1)
crack_check — Performs an obscure check with the given password
$dictionary
, string $password
)$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.
이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.
dictionaryThe crack lib dictionary. If not specified, the last opened dictionary is used.
passwordThe password to be checked.
usernameThe username of the account with the password.
gecosThe GECOS information associated with the user account.
Returns TRUE if password is strong, or FALSE otherwise.
| 버전 | 설명 |
|---|---|
| 0.3 |
The username, gecos and
dictionary parameters were added to the
alternative signature.
|