导航首页 »  技术教程 »  PHP:mcrypt_enc_is_block_algorithm_mode()的用法_Mcrypt函数
PHP:mcrypt_enc_is_block_algorithm_mode()的用法_Mcrypt函数 897 2023-12-15   

mcrypt_enc_is_block_algorithm_mode

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_is_block_algorithm_mode — 检测打开的模式是否支持分组加密

说明

bool mcrypt_enc_is_block_algorithm_mode ( resource $td )

打开的模式的算法是否支持分组加密 (例如: 如果是流模式,则返回 FALSE, cbc,cfb,ofb 模式则返回 TRUE)。

参数

td

加密描述符。

返回值

如果算法支持分组模式,返回 TRUE, 反之返回 FALSE



文章评论 (0条)
发表评论
暂无评论,快来抢沙发吧~