mcrypt_cbc | PHP 3.0.8
string mcrypt_cbc(int cipher, string key, string data, int mode[, string iv]) |
CBC encrypts/decrypts data using key with cipher starting with optional iv.

mcrypt_cfb | PHP 3.0.8
string mcrypt_cfb(int cipher, string key, string data, int mode[, string iv]) |
CFB encrypts/decrypts data using key with cipher starting with optional iv.

mcrypt_create_iv | PHP 3.0.8
string mcrypt_create_iv(int size, int source) |
Creates an initialization vector (IV).

mcrypt_decrypt | PHP 4.0.2
string mcrypt_decrypt(string cipher, string key, string data, string mode[, string iv]) |
OFB encrypts/decrypts data using key with cipher starting with optional iv.

mcrypt_ecb | PHP 3.0.8
string mcrypt_ecb(int cipher, string key, string data, int mode[, string iv]) |
ECB encrypts/decrypts data using key with cipher starting with optional iv.

mcrypt_enc_get_algorithms_name | PHP 4.0.2
string mcrypt_enc_get_algorithms_name(resource td) |
Returns the name of the algorithm specified by the descriptor.

mcrypt_enc_get_block_size | PHP 4.0.2
int mcrypt_enc_get_block_size(resource td) |
Returns the block size of the cipher specified by the descriptor.

mcrypt_enc_get_iv_size | PHP 4.0.2
int mcrypt_enc_get_iv_size(resource td) |
Returns the size of the IV in bytes of the algorithm specified by the descriptor td.

mcrypt_enc_get_key_size | PHP 4.0.2
int mcrypt_enc_get_key_size(resource td) |
Returns the maximum supported key size in bytes of the algorithm specified by the descriptor.

mcrypt_enc_get_modes_name | PHP 4.0.2
string mcrypt_enc_get_modes_name(resource td) |
Returns the name of the mode specified by the descriptor td.

mcrypt_enc_get_supported_key_sizes | PHP 4.0.2
int mcrypt_enc_get_supported_key_sizes(resource td) |
Returns an array with the supported key sizes of the algorithm specified by the descriptor.

mcrypt_enc_is_block_algorithm | PHP 4.0.2
bool mcrypt_enc_is_block_algorithm(resource td) |
Returns true if the algorithm is a block algorithm.

mcrypt_enc_is_block_algorithm_mode | PHP 4.0.2
bool mcrypt_enc_is_block_algorithm_mode(resource td) |
Returns true if the mode is for use with block algorithms.

mcrypt_enc_is_block_mode | PHP 4.0.2
bool mcrypt_enc_is_block_mode(resource td) |
Returns true if the mode outputs blocks of bytes.

mcrypt_enc_self_test | PHP 4.0.2
Vint mcrypt_enc_self_test(resource td) |
Runs the self test on the algorithm specified by the descriptor td.

mcrypt_encrypt | PHP 4.0.2
string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) |
OFB encrypts/decrypts data using key with cipher starting with iv.

mcrypt_generic_deinit | PHP 4.1.0
bool mcrypt_generic_deinit(resource td) |
Terminates encryption specified by the descriptor td.

mcrypt_generic_end | PHP 4.0.2
bool mcrypt_generic_end(resource td) |
Terminates encryption specified by the descriptor td.

mcrypt_generic_init | PHP 4.0.2
int mcrypt_generic_init(resource td, string key, string iv) |
Initializes all buffers for the specific module.

mcrypt_generic | PHP 4.0.2
string mcrypt_generic(resource td, string data) |
Encrypts plain text with given parameters.

mcrypt_get_block_size | PHP 3.0.8
int mcrypt_get_block_size(string cipher, string module) |
Gets the key size of cipher.

mcrypt_get_cipher_name | PHP 3.0.8
string mcrypt_get_cipher_name(int cipher) |
Gets the name of cipher.

mcrypt_get_iv_size | PHP 4.0.2
int mcrypt_get_iv_size(string cipher, string module) |
Get the IV size of cipher (usually the same as the block size).

mcrypt_get_key_size | PHP 3.0.8
int mcrypt_get_key_size(int cipher) |
Gets the key size of cipher.

mcrypt_list_algorithms | PHP 4.0.2
array mcrypt_list_algorithms([string lib_dir]) |
Lists all supported algorithms.

mcrypt_list_modes | PHP 4.0.2
array mcrypt_list_modes([string lib_dir]) |
Lists all supported modes.

mcrypt_module_close | PHP 4.0.2
bool mcrypt_module_close(resource td) |
Frees the descriptor td.

mcrypt_module_get_algo_block_size | PHP 4.0.2
int mcrypt_module_get_algo_block_size(string algorithm[, string lib_dir]) |
Returns the block size of the algorithm.

mcrypt_module_get_algo_key_size | PHP 4.0.2
int mcrypt_module_get_algo_key_size(string algorithm[, string lib_dir]) |
Returns the maximum supported key size of the algorithm.

mcrypt_module_get_supported_key_sizes | PHP 4.0.2
int mcrypt_module_get_supported_key_sizes(string algorithm[, string lib_dir]) |
Returns an array with the supported key sizes of the algorithm.

mcrypt_module_is_block_algorithm | PHP 4.0.2
bool mcrypt_module_is_block_algorithm(string algorithm[, string lib_dir]) |
Returns true if the algorithm is a block algorithm.

mcrypt_module_is_block_algorithm_mode | PHP 4.0.2
bool mcrypt_module_is_block_algorithm_mode(string mode[, string lib_dir]) |
Returns true if the mode is for use with block algorithms.

mcrypt_module_is_block_mode | PHP 4.0.2
bool mcrypt_module_is_block_mode(string mode[, string lib_dir]) |
Returns true if the mode outputs blocks of bytes.

mcrypt_module_open | PHP 4.0.2
resource mcrypt_module_open(string cipher, string cipher_directory, string mode, string mode_directory) |
Opens the module of the algorithm and the mode to be used.

mcrypt_module_self_test | PHP 4.0.2
bool mcrypt_module_self_test(string algorithm[, string lib_dir]) |
Does a self test of the specified module.

mcrypt_ofb | PHP 3.0.8
string mcrypt_ofb(int cipher, string key, string data, int mode[, string iv]) |
OFB encrypts/decrypts data using key with cipher starting with optional iv.

mdecrypt_generic | PHP 4.0.2
string mdecrypt_generic(resource td, string data) |
Decrypts plain text with given parameters.