Hacker News new | ask | show | jobs
by ihm 3304 days ago
You use Diffie–Hellman. "Diffie–Hellman key exchange method allows two parties that have no prior knowledge of each other to jointly establish a shared secret key over an insecure channel." (https://en.wikipedia.org/wiki/Diffie–Hellman_key_exchange)