Key exchange is a method used by two devices to securely agree on a secret key for protecting their communication.
The key allows devices to encrypt and decrypt data. Key exchange is important because the devices need a secure way to establish this shared secret, even when communicating over the internet.
How It Works
Two devices begin a secure connection.
They exchange information using a key exchange method.
Both devices calculate or establish the same secret key.
The key is then used to protect the communication.
The actual secret key does not need to be sent openly across the network.