mcrypt_ofb
(PHP 4, PHP 5)
mcrypt_ofb — Chiffre/déchiffre des données en mode OFB
Description
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
] )
La première syntaxe utilise libmcrypt 2.2.x, et la seconde libmcrypt 2.4.x. Le paramètre mode doit être MCRYPT_ENCRYPT ou MCRYPT_DECRYPT.
mcrypt_ofb() ne doit plus être utilisée. Vous pouvez la remplacer par mcrypt_generic() et mdecrypt_generic().