mcrypt_module_is_block_algorithm_mode
(PHP 4 >= 4.0.2, PHP 5)
mcrypt_module_is_block_algorithm_mode — 返回指定模块是否是分组加密模式
说明
bool mcrypt_module_is_block_algorithm_mode
( string $mode
[, string $lib_dir
] )
   对于分组加密模式,返回 TRUE,
   反之返回 FALSE。
   (例如,对于 STREAM 模式返回 FALSE,对于 cbc,cfb,ofb 返回 TRUE)
  
参数
mode
      
模式。
lib_dir
      可选参数, 表示在操作系统上包含算法模块的路径。
返回值
   对于分组加密模式,返回 TRUE,
   反之返回 FALSE。
   (例如,对于 STREAM 模式返回 FALSE,对于 cbc,cfb,ofb 返回 TRUE)