MCRYPT_GENERIC_END(3) 1 MCRYPT_GENERIC_END(3)
mcrypt_generic_end - This function terminates encryption
SYNOPSIS
bool mcrypt_generic_end (resource $td)
DESCRIPTION
Warning
This function is deprecated, use mcrypt_generic_deinit(3) instead. It can cause crashes when used with mcrypt_module_close(3) due
to multiple buffer frees.
Warning
This function is removed from PHP 7.0.0
This function terminates encryption specified by the encryption descriptor ($td). Actually it clears all buffers, and closes all the mod-
ules used. Returns FALSE on error, or TRUE on success.
CHANGELOG
+--------+---------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------+
| 7.0.0 | |
| | |
| | Removed function mcrypt_generic_end. |
| | |
+--------+---------------------------------------+
PHP Documentation Group MCRYPT_GENERIC_END(3)