Hello,
I've done a couple of searches on the net and a few forums and I've been unable to find a decent answer to my problem. The scenerio is this:
I'm setting up a system where users can send messages to each other. The messages will be stored in an encrypted format so that, if the data is comprimised, no harm is done. However, I need the system to use public key cryptography, because there is no secure medium by which a secret key could be agreed upon.
When I looked into the mcrypt library, I was unable to find any way to use public keys; there seemed to only be private keys.
So how is this done? Surely there is a way...
Thank you.