• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • mcrypt_module_is_block_algorithm()

    (PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)

    检测指定算法是否为分组加密算法

    Warning

    This function has beenDEPRECATEDas of PHP 7.1.0. Relying on this functionis highly discouraged.

    说明

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

    如果指定算法是分组加密算法,返回TRUE,反之返回FALSE

    参数

    $algorithm

    要检测的算法。

    $lib_dir

    可选参数$lib_dir,表示在操作系统上包含算法模块的路径。

    返回值

    如果指定算法是分组加密算法,返回TRUE,反之返回FALSE