mcrypt_decrypt
(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
Decrypts crypttext with given parameters
Removed-7-2-0
Description
Decrypts the data and returns the unencrypted data.
Parameters
cipherCipher
keyThe key with which the data was encrypted. If the provided key size is not supported by the cipher, the function will emit a warning and return false
dataThe data that will be decrypted with the given
cipherandmode. If the size of the data is not n * blocksize, the data will be padded with '\0'.modeMode
ivStrict
Return Values
Returns the decrypted data as a string Falseforfailure.