from Hacker News

Ask HN: PHP/MySQL Data Encryption

by jrsmith1279 on 2/18/12, 5:21 PM with 2 comments

Forgive my ignorance, but I need to store some sensitive data in a MySQL database and this data will need to be retrieved and displayed to the user at a later time. I understand the various methods for encrypting/hashing and then comparing a password against the hash, but what I really need to do for this project is to be able to decrypt the data and display it as plain text.