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

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, 表示在操作系统上包含算法模块的路径。

返回值

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



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