mcrypt_ofb()
mcrypt_ofb - Encrypt/decrypt data in OFB mode
Syntax
string mcrypt_ofb (
int $cipher,
string $key,
string $data,
int $mode,
string $iv,
string $cipher,
string $key,
string $data,
int $mode,
string $iv,
int $cipher,
string $key,
string $data,
int $mode,
string $iv,
string $cipher,
string $key,
string $data,
int $mode,
string $iv)
Arguments
- cipher - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- key - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- data - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- mode - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- iv - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- cipher - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- key - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- data - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- mode - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- iv - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- cipher - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- key - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- data - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- mode - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- iv - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- cipher - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- key - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- data - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- mode - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
- iv - The optional lib_dir parameter can contain the location of where the algorithm module is on the system.
Description
The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.
Version
PHP 4, 5
Return value