This question already has an answer here:
- Securing communication 1 answer
I'm writing some security software, and don't want anyone to be able to intercept data as its passed from client->server, and server->client.
The best way to do this is over HTTPS via SSL. However, I've read that you can't trust HTTPS, as Certificate Authorities can get hacked, or taken over by Governments.
So - how do I securely pass data between server and client?