Loading CryptoViz...
Loading page content...Loading CryptoViz...
Loading page content...Active Attack Lab
Unauthenticated Diffie-Hellman is vulnerable to active interception: Eve substitutes both public keys, then relays and decrypts every message while Alice and Bob believe they share a key with each other. Toggle on digital signatures to see the attack fail.
A = g^a = 8
Receives E₂ = 11 (Eve's key)
K_AE = 9
E₁ = g^e₁ = 11
E₂ = g^e₂ = 11
K_EA = 9
K_EB = 10
B = g^b = 19
Receives E₁ = 11 (Eve's key)
K_BE = 10
Run the key exchange to see the trace.