Cybersecurity · EXPERIMENT 12 / 20

Diffie–Hellman Key Exchange Playground

Exchange public values over an open channel and derive the same secret independently at both ends.

INITIALISING
LIVE MODELRUNNING
Public channelPrivate values

What you’re exploring

Diffie–Hellman lets two participants agree on a shared secret without sending the secret itself. Each side combines its private exponent with the other side’s public value using modular exponentiation.

A = gᵃ mod p · B = gᵇ mod p · K = Bᵃ = Aᵇ mod p
MY SIMULATOR · INTERACTIVE SCIENCE COLLECTION · 638271
Made with 🤖 ChatGPT