LOADING STUFF...

PHP:mcrypt_ofb()的用法_Mcrypt函数

技术教程1天前发布 北陌
19 0 0

PHP:mcrypt_ofb()的用法_Mcrypt函数

mcrypt_ofb

(PHP 4, PHP 5)

mcrypt_ofb — 使用 OFB 模式加密/解密数据

说明

string mcrypt_ofb
( int $cipher
, string $key
, string $data
, int $mode
, string $iv
)
string mcrypt_ofb
( string $cipher
, string $key
, string $data
, int $mode
[, string $iv
] )

第一个原型是针对 libmcrypt 2.2.x 的,
第二个原型是针对 libmcrypt 2.4.x 及更高版本的。
mode 可选值为:
MCRYPT_ENCRYPT
MCRYPT_DECRYPT

不要再使用此函数了。
参见:
mcrypt_generic() 和
mdecrypt_generic() 作为替代。

Warning

自PHP 5.5.0起,此函数已经被废弃。强烈建议不要使用此函数 。

© 版权声明

相关文章

暂无评论

暂无评论...