Hi,
How can we encrypt and decrypt a data present in a MySQL table using MySQL?
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AartiPosted Jan 12, 2012, 11:50 PM
using AES_ENCRYPT(str,key_str) ; and AES_DECRYPT(crypt_str,key_str)
ex. AES_Encrypt('Datatype','Column name');
AES_Decrypt('Datatype','Column name');
and for brief refer below link:
http://dev.mysql.com/doc/refman/5.5/en/encryption-functions.html
Satyapriya NayakPosted Jan 12, 2012, 1:26 PM
Use AES_ENCRYPT () and AES_DECRYPT ()
Thanks