Key Exchange
PronunciationKEE iks-CHAYNJ
Definition
Key exchange is how two parties agree on a shared secret key over an insecure network without ever sending the key itself. Diffie-Hellman is the classic method.
Where you hear it
In TLS handshake explanations, VPN and SSH setup, and cryptography courses.
Examples
During the TLS handshake the client and server run a key exchange and derive a session key.
The shared key never travels over the network.
Both devices computed the same session key, and the key itself was never sent.
Common mistake
Thinking the public key encrypts all the traffic. It usually only helps agree on a symmetric session key.
Don't confuse with
Encryption itself. The exchange only establishes the key that encryption will then use.
Say it at work
- In a meeting or chat
Which key exchange does the server support?
- In an email or ticket
Prefer ephemeral key exchange.