Hi all, I need to store some confidential information in my database, the messages need to be read from the database too so I need two-way encryption. I'm not sure how to use mcrypt...any pointers would be appreciated greatly.
[This user comment on the manual should get you going, I prefer the look of [URL="http://www.php.net/manual/en/function.mcrypt-encrypt.php#78531"]this one](http://www.php.net/manual/en/function.mcrypt-encrypt.php#87526) though.
Hey bud, that is just what I'm after. How safe is mcrypt? If I was to be hacked, I'm guessing it wouldn't be impossible to reveal the message. I'm guessing it just adds another challenge to a hacker rather than having the raw data exposed and in a readily available format?