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