(PHP 4 >= 4.0.2, PHP 5)

mcrypt_generic_endThis function terminates encryption


bool mcrypt_generic_end ( resource $td )

This alias was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.


mcrypt_generic_deinit() should be used instead of this function, as it can cause crashes when used with mcrypt_module_close() due to multiple buffer frees.

This function terminates encryption specified by the encryption descriptor (td). Actually it clears all buffers, and closes all the modules used. Returns FALSE on error, or TRUE on success.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top