Home » » mcrypt_generic

mcrypt_generic

Written By 1 on Monday, October 1, 2012 | 6:20 PM

string mcrypt_generic ( resource $td , string $data )

This function encrypts data

This function encrypts data. The data is padded with "\0" to make sure the length of the data is n * blocksize. This function returns the encrypted data. Note that the length of the returned string can in fact be longer than the input, due to th


Behaviour change: Since 5.2.x mcrypt_generic will issue a warning when the datastring is empty.


0 Comment:

Post a Comment