mdecrypt_generic

PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0
mdecrypt_generic - Decrypts data
Manual
Code Examples

mdecrypt_generic( resource$td, string$data ): string

This function decrypts data. Note that the length of the returned string can in fact be longer than the unencrypted string, due to the padding of the data.

Parameters

td

An encryption descriptor returned by mcrypt_module_open

data

Encrypted data.

Return Values

Returns decrypted string.

Related Functions

Example of mdecrypt_generic

Show all examples for mdecrypt_generic

PHP Version: