PHP.nl

mcrypt_module_is_block_algorithm

mcrypt_module_is_block_algorithm

This function checks whether the specified algorithm is a block algorithm

bool **mcrypt_module_is_block_algorithm** string $algorithm string $lib_dir

This function returns true if the specified algorithm is a block algorithm, or false if it is a stream one.

algorithmThe algorithm to check.

lib_dir The optional parameter can contain the location where the algorithm module is on the system. lib_dir

This function returns true if the specified algorithm is a block algorithm, or false if it is a stream one.