mcrypt_enc_is_block_algorithm()
(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
检测打开模式的算法是否为分组算法
WarningThis function has beenDEPRECATEDas of PHP 7.1.0. Relying on this functionis highly discouraged.
说明
mcrypt_enc_is_block_algorithm(resource $td): bool
打开模式的算法是否为分组算法。
参数
- $td
加密描述符。
返回值
如果是分组算法,返回TRUE
,如果是流模式,返回FALSE
。