Interactive guide · Abhineet Biju
A No-Nonsense Guide to Elliptic Curve Cryptography
Understand elliptic curves, digital signatures, and how they apply to Solana.
Chapters
- Modular arithmetic and finite fields
Let's start with arithmetic inside a fixed range.
- Elliptic-curve points and addition
We can build an elliptic-curve public key by repeatedly adding points on a finite-field curve.
- Deriving the point-doubling formulas
We can derive the point-doubling formulas directly from a line intersecting the curve.
- Scalar multiplication and keypairs
If you know the secret scalar, computing the public point is fast. Reversing the operation is hard.
- Creating and verifying signatures
You can use a signature to prove that a private key authorized one exact message without revealing the key.
- Solana wallet and PDA authorization
A wallet and a PDA can both receive signer privilege. Let's trace how each one proves its authority.