首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

mcrypt_ofb

(PHP 4, PHP 5)

mcrypt_ofb - 在 OFB 模式下加密/解密数据

警告

这个函数在 PHP 5.5.0 中是 DEPRECATED,而在 PHP 7.0.0 中是 REMOVED。

Alternatives to this function include:

  • mcrypt_decrypt()
  • mcrypt_encrypt()

描述

代码语言:javascript
复制
string mcrypt_ofb ( int $cipher , string $key , string $data , int $mode , string $iv )
代码语言:javascript
复制
string mcrypt_ofb ( string $cipher , string $key , string $data , int $mode [, string $iv ] )

第一个原型与 libmcrypt 2.2.x 链接,第二个与 libmcrypt 2.4.x 或更高版本链接。mode应该是MCRYPT_ENCRYPTMCRYPT_DECRYPT

← mcrypt_module_self_test

mdecrypt_generic →

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com