Hi,
How can we encrypt and decrypt a data present in a MySQL table using MySQL?
Thanks
Mysql Table
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 12, 2012, 8:26 AM EST
Use AES_ENCRYPT () and AES_DECRYPT ()
Thanks
AartiRank #2,383 · 594 reputationPosted Jan 12, 2012, 6:50 PM EST
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