I need to provide my users the assurance of privacy in their posts.
The posts are classic HTML generated by tinyMCE.
I need the users to define their encryption string before they save the post. I should be able to encrypt the html content based on their string and sent it over the wire to be stored in the DB. This way i suppose that i can assure them that even i cannot read their posts unless i know their key.
When they request their post they should provide their string in order to be able to view it properly.
What would be the best approach for this scenario?