I'm managing the MySQL database from PHP scripts. the communication between server and client is secured via SSL. I store user account data which is sensitive.
Is there a way to encrypt this data when entered into the DB? What is the best way to protect this sensitive data?
EDIT: I’m using a CRON job for updating data which relies on this password to login the user account. So I need a way to hash this password and to be able to get the original password for my CRON job tasks.
What’s the best way to achieve it?
Thanks