mcrypt_module_is_block_algorithm

(PHP 4 >= 4.0.2)

mcrypt_module_is_block_algorithm --  指定したアルゴリズムがブロックアルゴリズムであるかを調べる

説明

bool mcrypt_module_is_block_algorithm (string algorithm [, string lib_dir])

この関数は、指定したアルゴリズムがブロックアルゴリズムの場合に true、ストリームアルゴリズムの場合に false を返します。 オプションのパラメータlib_dirによりストリー ム上でのモジュールalgorithmの位置を指定することが可能です。