位置: 编程技术 - 正文

PHP:mcrypt_module_self_test()的用法_Mcrypt函数

编辑:rootadmin
mcrypt_module_self_test

推荐整理分享PHP:mcrypt_module_self_test()的用法_Mcrypt函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_module_self_test — 在指定模块上执行自检

说明 bool mcrypt_module_self_test ( string $algorithm [, string $lib_dir ] )

在指定模块上执行自检。

参数

algorithm PHP:mcrypt_module_self_test()的用法_Mcrypt函数

MCRYPT_ciphername 常量中的一个,或者是字符串值的算法名称。

lib_dir

可选参数 lib_dir, 表示包含加密算法模块的路径。

返回值

自检成功返回 TRUE, 自检失败返回 FALSE。

范例

Example #1 mcrypt_module_self_test() 例程

<?phpvar_dump(mcrypt_module_self_test(MCRYPT_RIJNDAEL_))."n";var_dump(mcrypt_module_self_test(MCRYPT_BOGUS_CYPHER));?>

以上例程会输出:

PHP:mcrypt_module_open()的用法_Mcrypt函数 mcrypt_module_open(PHP4=4.0.2,PHP5)mcrypt_module_open打开算法和模式对应的模块说明resourcemcrypt_module_open(string$algorithm,string$algorithm_directory,string$mode,string$mode_directory)

PHP:mcrypt_module_is_block_algorithm()的用法_Mcrypt函数 mcrypt_module_is_block_algorithm(PHP4=4.0.2,PHP5)mcrypt_module_is_block_algorithm检测指定算法是否为分组加密算法说明boolmcrypt_module_is_block_algorithm(string$algorithm[,string$lib_di

PHP:mcrypt_module_is_block_mode()的用法_Mcrypt函数 mcrypt_module_is_block_mode(PHP4=4.0.2,PHP5)mcrypt_module_is_block_mode检测指定模式是否以分组方式输出说明boolmcrypt_module_is_block_mode(string$mode[,string$lib_dir])如果模式是

本文链接地址:https://www.jiuchutong.com/biancheng/287398.html 转载请保留说明!

上一篇:PHP:mcrypt_ofb()的用法_Mcrypt函数

下一篇:PHP:mcrypt_module_open()的用法_Mcrypt函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络