Mcrypt 関数
PHP Manual

mcrypt_module_is_block_algorithm

(PHP 4 >= 4.0.2, PHP 5)

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

説明

bool mcrypt_module_is_block_algorithm ( string $algorithm [, string $lib_dir ] )

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


Mcrypt 関数
PHP Manual
アダルトレンタルサーバー