X25519 Key Exchange Demo
Watch two parties derive the same shared secret without ever transmitting it
About the X25519 Demo
X25519 is the elliptic-curve Diffie-Hellman key exchange behind TLS 1.3, Signal, and SSH. Two parties exchange public keys and independently derive the same shared secret — without the secret ever traveling the wire.
This interactive demo generates keypairs in your browser and performs the full exchange step by step, so you can see how the shared secret appears identically on both sides. The same property makes protocols like Arcium's multi-party computation possible: compute on data without ever revealing it.
How to use
- Generate keypairs for both parties.
- Exchange the public keys (the demo does this for you).
- Watch both sides derive the identical shared secret.