CodeIgniter Forums

Full Version: How use key for aes_encrypt wihtout accessible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to use AES_ENCRYPT in mysql for decrypt data
We know that need key for encrypt and decrypt data
If i use this key in sql query from php and execute it,maybe database show error that contain my query that in query my key exist
How use this key without accessible user?
Read the database record and then decrypt it in code.

Youcould store the key like CodeIgniter does in the config file.