mdecrypt_generic This function decrypts data Description stringmdecrypt_generic resourcetd stringdata This function decrypts data. Note that the length of the returned string can in fact be longer then the unencrypted string, due to the padding of the data. <function>mdecrypt_generic</function> Example ]]> The above example shows how to check if the data before the encryption is the same as the data after the decryption.