mcrypt_module_get_supported_key_sizes

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns an array with the supported keysizes of the opened algorithm array mcrypt_module_get_supported_key_sizes ( string $algorithm [, string $lib_dir ] ) Returns an array with the key sizes supported by the specified algorithm. If it returns an empty array then all key sizes between 1 and mcrypt_module_get_algo_key_size() are supported by the algorithm. Parameters:

mcrypt_module_get_algo_key_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the maximum supported keysize of the opened mode int mcrypt_module_get_algo_key_size ( string $algorithm [, string $lib_dir ] ) Gets the maximum supported keysize of the opened mode. Parameters: algorithm The algorithm name. lib_dir This optional parameter can contain the location where the mode

mcrypt_module_get_algo_block_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the blocksize of the specified algorithm int mcrypt_module_get_algo_block_size ( string $algorithm [, string $lib_dir ] ) Gets the blocksize of the specified algorithm. Parameters: algorithm The algorithm name. lib_dir This optional parameter can contain the location where the mode module is on

mcrypt_module_close

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Closes the mcrypt module bool mcrypt_module_close ( resource $td ) Closes the specified encryption handle. Parameters: td The encryption descriptor. Returns: Returns TRUE on success or FALSE on failure. See also: mcrypt_module_

mcrypt_list_modes

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Gets an array of all supported modes array mcrypt_list_modes ([ string $lib_dir = ini_get("mcrypt.modes_dir") ] ) Gets the list of all supported modes in the lib_dir parameter. Parameters: lib_dir Specifies the directory where all modes are located. If not specified, the value of the mcrypt.modes_dir php.ini directive is used.

mcrypt_list_algorithms

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Gets an array of all supported ciphers array mcrypt_list_algorithms ([ string $lib_dir = ini_get("mcrypt.algorithms_dir") ] ) Gets the list of all supported algorithms in the lib_dir parameter. Parameters: lib_dir Specifies the directory where all algorithms are located. If not specified, the value of the mcrypt.algorithms_dir php.ini di

mcrypt_get_key_size

(PHP 4, PHP 5, PHP 7) Gets the key size of the specified cipher int mcrypt_get_key_size ( int $cipher ) int mcrypt_get_key_size ( string $cipher , string $mode ) The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or 2.5.x. mcrypt_get_key_size() is used to get the size of a key of the specified cipher (in combination with an encryption mode). It is more useful to us

mcrypt_get_iv_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the size of the IV belonging to a specific cipher/mode combination int mcrypt_get_iv_size ( string $cipher, string $mode ) Gets the size of the IV belonging to a specific cipher/mode combination. It is more useful to use the mcrypt_enc_get_iv_size() function as this uses the resource returned by mcrypt_module_open(). Parameters: cipher

mcrypt_get_cipher_name

(PHP 4, PHP 5, PHP 7) Gets the name of the specified cipher string mcrypt_get_cipher_name ( int $cipher ) string mcrypt_get_cipher_name ( string $cipher ) mcrypt_get_cipher_name() is used to get the name of the specified cipher. mcrypt_get_cipher_name() takes the cipher number as an argument (libmcrypt 2.2.x) or takes the cipher name as an argument (libmcrypt 2.4.x or higher) and returns the name of the cipher or FALSE, i

mcrypt_get_block_size

(PHP 4, PHP 5, PHP 7) Gets the block size of the specified cipher int mcrypt_get_block_size ( int $cipher ) int mcrypt_get_block_size ( string $cipher , string $mode ) The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or 2.5.x. mcrypt_get_block_size() is used to get the size of a block of the specified cipher (in combination with an encryption mode). It is more us