Secret Color Exchange

Learn how to establish a shared secret in public, based on the Diffie-Hellman key exchange.

The Challenge: A Secret Color

Alice and Bob want to agree on a secret color, but Eve is listening to their conversation. Can you help them establish a secret color without Eve figuring it out?

Alice (You)

Alice's Private Color (Secret)

Public Channel

Base Color (g=3)

Bob

Bob's Private Color (Secret)

Value: 81

Choose Your Private Color