mcrypt_ofb

(PHP 4, PHP 5)

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

Warning

This function was DEPRECATED in PHP 5.5.0, and REMOVED in PHP 7.0.0.

Alternatives to this function include:

说明

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 ] ) : string

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

User Contributed Notes

There are no user contributed notes for this page.