Mcrypt Encryption Functions
PHP version: 5
Required modules: none
Required packages: none
See: http://www.php.net/manual/en/ref.mcrypt.php
MCRYPT_ARCFOUR_IV = "arcfour-iv"
MCRYPT_BLOWFISH_COMPAT = "blowfish-compat"
MCRYPT_RIJNDAEL_128 = "rijndael-128"
MCRYPT_RIJNDAEL_192 = "rijndael-192"
MCRYPT_RIJNDAEL_256 = "rijndael-256"
MCRYPT_SAFER128 = "safer-sk128"
MCRYPT_SAFERPLUS = "saferplus"
MCRYPT_TRIPLEDES = "tripledes"
resource mcrypt_module_open(
string $cipher,
string $cipher_directory,
string $mode,
string $mode_directory)
int mcrypt_generic_init(
resource $td,
string $key,
string $iv)
string mcrypt_generic(
resource $td,
string $data)
string mdecrypt_generic(
resource $td,
string $data)
mixed[] mcrypt_enc_get_supported_key_sizes(
resource $td)
int mcrypt_enc_self_test(
resource $td)
boolean mcrypt_module_close(
resource $td)
boolean mcrypt_generic_end(
resource $td)
Deprecated: Use
mcrypt_generic_deinit()instead. It can cause crashes when used withmcrypt_module_close().
boolean mcrypt_generic_deinit(
resource $td)
boolean mcrypt_enc_is_block_algorithm_mode(
resource $td)
boolean mcrypt_enc_is_block_algorithm(
resource $td)
boolean mcrypt_enc_is_block_mode(
resource $td)
int mcrypt_enc_get_block_size(
resource $td)
int mcrypt_enc_get_key_size(
resource $td)
int mcrypt_enc_get_iv_size(
resource $td)
string mcrypt_enc_get_algorithms_name(
resource $td)
string mcrypt_enc_get_modes_name(
resource $td)
boolean mcrypt_module_self_test(
string $algorithm, ...)
boolean mcrypt_module_is_block_algorithm_mode(
string $mode, ...)
boolean mcrypt_module_is_block_algorithm(
string $algorithm, ...)
boolean mcrypt_module_is_block_mode(
string $mode, ...)
int mcrypt_module_get_algo_block_size(
string $algorithm, ...)
int mcrypt_module_get_algo_key_size(
string $algorithm, ...)
mixed[] mcrypt_module_get_supported_key_sizes(
string $algorithm, ...)
mixed[] mcrypt_list_algorithms(...)
mixed[] mcrypt_list_modes(...)
int mcrypt_get_key_size(
string $cipher,
string $module)
int mcrypt_get_block_size(
string $cipher,
string $module)
int mcrypt_get_iv_size(
string $cipher,
string $module)
string mcrypt_get_cipher_name(
string $cipher)
string mcrypt_encrypt(
string $cipher,
string $key,
string $data,
string $mode,
string $iv)
string mcrypt_decrypt(
string $cipher,
string $key,
string $data,
string $mode,
string $iv)
string mcrypt_ecb(
int $cipher,
string $key,
string $data,
int $mode,
string $iv)
Deprecated: Use
mcrypt_generic()instead.
string mcrypt_cbc(
int $cipher,
string $key,
string $data,
int $mode,
string $iv)
string mcrypt_cfb(
int $cipher,
string $key,
string $data,
int $mode,
string $iv)
string mcrypt_ofb(
int $cipher,
string $key,
string $data,
int $mode,
string $iv)
string mcrypt_create_iv(
int $size,
int $source)
Generated by PHPLint Documentator