Public-key exchange lets two parties agree on a shared secret over an open channel that an eavesdropper is watching, without ever transmitting the secret itself.
shared_secret = g^(a*b) mod p (Diffie-Hellman)
security ~ key_length
- Network nodes — parties in the network establishing pairwise secure channels.
- Connection density — how many other nodes each party attempts to establish a secure channel with.
- Key exchange rate — how often new key exchanges are initiated across the network.
- Attack/eavesdrop rate — how frequently an adversary node attempts to intercept or break a channel.
Every HTTPS connection you make performs this exact key-exchange dance in milliseconds before a single byte of your actual traffic is sent.