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

Encryption doesn´t work #11

Closed Kingmaddi closed 5 years ago

Kingmaddi commented 5 years ago

Hi,

thank you for your project. After i saved my encrypted data, my database shows only "0" in the field. What is my mistake?

Thnak you for help

verschuur commented 5 years ago

How is the field defined in the DB? It should be a blob type field.