utility / Crypto

Diffie-Hellman Demo

Interactive visualization of the Diffie-Hellman key exchange protocol.

Runs locally
LOCAL WORKBENCH
Input stays in this browser
Diffie-Hellman Key Exchange Simulator
100% Local

Alice (Party A)

Public Message A = 5^6 mod 23 = 8
Calculated Shared Secret: 2

Bob (Party B)

Public Message B = 5^15 mod 23 = 19
Calculated Shared Secret: 2
Shared Secret Match: MATCH (2) — Secure Channel Established

Continue the thread

Related utilities