PHP.nl

mcrypt_module_is_block_algorithm_mode

mcrypt_module_is_block_algorithm_mode

Returns if the specified module is a block algorithm or not

bool **mcrypt_module_is_block_algorithm_mode** string $mode string $lib_dir

This function returns true if the mode is for use with block algorithms, otherwise it returns false. (e.g. false for stream, and true for cbc, cfb, ofb).

modeThe mode 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 mode is for use with block algorithms, otherwise it returns false. (e.g. false for stream, and true for cbc, cfb, ofb).