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の位置を指定することが可能です。