The Lab · Cryptography

Curve orrery

Nearly every TLS and SSH connection agrees its keys on an elliptic curve. We'll take one apart in six exhibits: chords, finite fields, orbits, scalar multiplication that doesn't leak, key agreement and how real curves get chosen.

Everything runs in this tab. The toy arithmetic is this page's own code, checked against RFC 7748, and the real key agreement is the browser's Web Crypto. Keys are fresh for each visit and never stored or sent. Only your progress is saved.