mcrypt_module_is_block_algorithm()
mcrypt_module_is_block_algorithm - This function checks whether the specified algorithm is a block algorithm
Syntax
bool mcrypt_module_is_block_algorithm (
string $algorithm,
string $lib_dir)
Arguments
- algorithm - The algorithm to check.
- lib_dir - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
Description
This function returns TRUE if the specified algorithm is a block algorithm, or FALSE is it is a stream algorithm.
Version
PHP 4.0.2, 5
Return value
This function returns TRUE if the specified algorithm is a block algorithm, or FALSE is it is a stream algorithm.