mcrypt_decrypt

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Decrypts crypttext with given parameters string mcrypt_decrypt ( string $cipher, string $key, string $data, string $mode [, string $iv ] ) Decrypts the data and returns the unencrypted data. Parameters: cipher One of the MCRYPT_ciphername constants, or the name of the algorithm as string. key The key with

mcrypt_ecb

(PHP 4, PHP 5) Deprecated: Encrypts/decrypts data in ECB mode string mcrypt_ecb ( int $cipher, string $key, string $data, int $mode ) string mcrypt_ecb ( string $cipher , string $key , string $data , int $mode [, string $iv ] ) 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.

mcrypt_enc_get_algorithms_name

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the name of the opened algorithm string mcrypt_enc_get_algorithms_name ( resource $td ) This function returns the name of the algorithm. Parameters: td The encryption descriptor. Returns: Returns the name of the opened algorithm as a string. Examples:

mcrypt_enc_get_block_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the blocksize of the opened algorithm int mcrypt_enc_get_block_size ( resource $td ) Gets the blocksize of the opened algorithm. Parameters: td The encryption descriptor. Returns: Returns the block size of the specified algorithm in bytes.

mcrypt_enc_get_iv_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the size of the IV of the opened algorithm int mcrypt_enc_get_iv_size ( resource $td ) This function returns the size of the IV of the algorithm specified by the encryption descriptor in bytes. An IV is used in cbc, cfb and ofb modes, and in some algorithms in stream mode. Parameters: td The encryption descriptor.

mcrypt_enc_get_key_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the maximum supported keysize of the opened mode int mcrypt_enc_get_key_size ( resource $td ) Gets the maximum supported key size of the algorithm in bytes. Parameters: td The encryption descriptor. Returns: Returns the maximum supported key size of the algorithm in bytes.

mcrypt_enc_get_modes_name

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns the name of the opened mode string mcrypt_enc_get_modes_name ( resource $td ) This function returns the name of the mode. Parameters: td The encryption descriptor. Returns: Returns the name as a string. Examples: mcrypt_enc_get_modes_name() ex

mcrypt_enc_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_enc_get_supported_key_sizes ( resource $td ) Gets the supported key sizes of the opened algorithm. Parameters: td The encryption descriptor. Returns: Returns an array with the key sizes supported by the algorithm specified by the en

mcrypt_enc_is_block_algorithm_mode

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Checks whether the encryption of the opened mode works on blocks bool mcrypt_enc_is_block_algorithm_mode ( resource $td ) Tells whether the algorithm of the opened mode works on blocks (e.g. FALSE for stream, and TRUE for cbc, cfb, ofb).. Parameters: td The encryption descriptor. Returns: Returns TRUE if the mode

mcrypt_enc_is_block_algorithm

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Checks whether the algorithm of the opened mode is a block algorithm bool mcrypt_enc_is_block_algorithm ( resource $td ) Tells whether the algorithm of the opened mode is a block algorithm. Parameters: td The encryption descriptor. Returns: Returns TRUE if the algorithm is a block algorithm or FALSE if it is a st