What is the equivalent of MySQL's AES_ENCRYPT ECB method in PHP? After searching for quite a while here in SO, I only found topics with regards to MySQL's AES with "ECB" method and not "CBC".
Should I use openssl
? mcrypt
? Or is there any chance that the encryption made in PHP could be decrypted with the use of MySQL and vice versa?