noprotocol / php-mysql-aes-crypt

Encrypt/decrypt data in PHP to a format compatible with MySQL AES_ENCRYPT & AES_DECRYPT functions.
MIT License
23 stars 9 forks source link

mcrypt_encrypt deprecated #2

Closed annejan closed 6 years ago

annejan commented 7 years ago

This function has been DEPRECATED as of PHP 7.1.0. Relying on this function is highly discouraged.

We should switch to openssl_encrypt http://php.net/manual/en/function.openssl-encrypt.php