crack_check

(PHP 4 >= 4.0.5, PECL)

crack_check -- Performs an obscure check with the given password

Beskrivelse

bool crack_check ( resource dictionary, string password )

bool crack_check ( string password )

Performs an obscure check with the given password on the specified dictionary.

Advarsel

Denne funktion er EKSPERIMENTABEL. Virkemåden af denne funktion, navnet på funktionen, og andet ellers dokumenteret om denne funktion, ændres muligvis uden advarsel i en fremtidig version af PHP. Brug af denne funktion er på ejet ansvar.

Parameterliste

dictionary

The crack lib dictionary. If not specified, the last opened dictionary is used.

password

The tested password.

Returneringsværdier

Returns TRUE if password is strong, or FALSE otherwise.