Build ECDSA Signatures
Build elliptic-curve signatures from scratch: modular arithmetic, finite fields, point addition on secp256k1, scalar multiplication, ECDSA sign/verify. Foundation of Bitcoin, Ethereum, TLS. Includes the famous nonce-reuse attack that broke the PS3.
advanced13 lessons4 chapters13 graded exercisesPython
No sign-up needed for lesson 1 · certificate on completion · sign up to save progress
What you’ll have built
Chapter by chapter. Every step is a graded exercise.
- Number Theory Foundations
- Elliptic Curves
- ECDSA Algorithm
- Implementation Pitfalls
Starts in Python — solve in the language you choose in the editor, same tests either way.
Curriculum
4 chapters, 13 lessons. Each lesson is a short read, one graded exercise, and a quiz.
- 1Modular Arithmetic RefresherRead · exercise · quiz
- 2The Discrete Log ProblemRead · exercise · quiz
- 3Primes and Field ChoiceRead · exercise · quiz
Loading reference solution…