crack_getlastmessage
Hash
Crack Functions
PHP Manual

# crack_opendict

(PECL crack >= 0.1)

crack_opendict — Opens a new CrackLib dictionary

### Description

resource crack_opendict ( string `$dictionary` )

crack_opendict() opens the specified CrackLib `dictionary` for use with crack_check().

Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

> Note:

> Only one dictionary may be open at a time.

### Parameters

`dictionary`

  The path to the Cracklib dictionary.

### Return Values

Returns a dictionary resource identifier on success or `FALSE` on failure.

### See Also

- crack_check() - Performs an obscure check with the given password
- crack_closedict() - Closes an open CrackLib dictionary

crack_getlastmessage
Hash
Crack Functions
PHP Manual