Elliptic-Curve Cryptography: Basics, ECDH and ECDSA
A key 12 times shorter for the same security. The price is a new kind of arithmetic: adding points on a curve instead of multiplying numbers.
Summary
The lecture builds elliptic-curve cryptography from the ground up: why a 256-bit ECC key matches 3072-bit RSA, the equation y² = x³ + ax + b and the discriminant condition, the geometric and algebraic rules for adding points, the abelian group, arithmetic over the finite field F_p, scalar multiplication (double-and-add) and the hardness of ECDLP. It then covers standard curves (secp256k1, P-256, Curve25519), ECDH key exchange, ECDSA signing and verification, and how a repeated nonce leaks the private key (PlayStation 3, Android wallets, RFC 6979, Ed25519); all calculations are worked by hand over F₉₇ and F₁₇ and in Python code.
Key terms
Lecture outline
- Why ECC — the key-length question
- The curve equation and the discriminant condition
- The geometric rule for adding points
- Doubling, the neutral element and the group
- Algebraic formulas
- A curve over the finite field F_p
- Scalar multiplication, double-and-add, ECDLP
- Standard curves and ECDH
- ECDSA, the nonce disaster and Python