Welcome Guest, Not a member yet? Register   Sign In
How use key for aes_encrypt wihtout accessible

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB