Elliptic-Curve Keys and Signatures
Look inside an elliptic-curve key, watch two sides derive the same secret, see why ECDSA signatures differ every time while Ed25519 signatures repeat, and see on a toy curve what a repeated nonce gives away. Test keys only.
Keys and Agreement
A key names a curve and holds a point of a known size, the point is two numbers, and two sides combine their keys into one shared secret.
- Named Curves and Sizes
a key names a curve and holds a point of a known size
- A Public Key Is a Point
splitting a public key into its two coordinates
- ECDH Both Sides Agree
two private keys, one shared secret
Signatures
ECDSA signatures that differ every time, Ed25519 signatures that repeat, the yes or no of verification, and what a repeated nonce gives away.
- ECDSA Signatures Are Random
the same key and message, a different signature each time
- Ed25519 Signs the Same Way Twice
a deterministic signature, the opposite of ECDSA
- Verify Says Yes or No
what a signature check answers and what it does not
- A Reused Nonce Reveals the Key
what two signatures with the same nonce give away
- Honesty Boundary
one key, two files, and what the pages leave out