位置: 编程技术 - 正文

PHP:mcrypt_enc_get_algorithms_name()的用法_Mcrypt函数

编辑:rootadmin
mcrypt_enc_get_algorithms_name

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

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

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_get_algorithms_name — 返回打开的算法名称

说明 string mcrypt_enc_get_algorithms_name ( resource $td )

本函数返回算法名称。

参数

td PHP:mcrypt_enc_get_algorithms_name()的用法_Mcrypt函数

加密描述符。

返回值

以字符串格式返回打开的加密算法名称。

范例

Example #1 mcrypt_enc_get_algorithms_name() 例程

<?php$td=mcrypt_module_open(MCRYPT_CAST_,'',MCRYPT_MODE_CFB,'');echomcrypt_enc_get_algorithms_name($td)."n";$td=mcrypt_module_open('cast-','',MCRYPT_MODE_CFB,'');echomcrypt_enc_get_algorithms_name($td)."n";?>

以上例程会输出:

PHP:mcrypt_ecb()的用法_Mcrypt函数 mcrypt_ecb(PHP4,PHP5)mcrypt_ecb已废弃:使用ECB模式加解密数据说明stringmcrypt_ecb(int$cipher,string$key,string$data,int$mode)stringmcrypt_ecb(string$cipher,string$key,string$data,int$mod

PHP:mcrypt_enc_get_block_size()的用法_Mcrypt函数 mcrypt_enc_get_block_size(PHP4=4.0.2,PHP5)mcrypt_enc_get_block_size返回打开的算法的分组大小说明intmcrypt_enc_get_block_size(resource$td)获取打开的算法的分组大小。参数td加

PHP:mcrypt_decrypt()的用法_Mcrypt函数 mcrypt_decrypt(PHP4=4.0.2,PHP5)mcrypt_decrypt使用给定参数解密密文说明stringmcrypt_decrypt(string$cipher,string$key,string$data,string$mode[,string$iv])解密data并返回明文。参数cip

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

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

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

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

鄂ICP备2023003026号

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

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