An elliptic curve and secant line etched into a glass plotting panel.

Interactive guide · Abhineet Biju

A No-Nonsense Guide to Elliptic Curve Cryptography

Chapters
6 chapters
Experiments
5 interactive examples
Quick checks
11 questions

Understand elliptic curves, digital signatures, and how they apply to Solana.

Chapters

  1. Modular arithmetic and finite fields

    Let's start with arithmetic inside a fixed range.

  2. Elliptic-curve points and addition

    We can build an elliptic-curve public key by repeatedly adding points on a finite-field curve.

  3. Deriving the point-doubling formulas

    We can derive the point-doubling formulas directly from a line intersecting the curve.

  4. Scalar multiplication and keypairs

    If you know the secret scalar, computing the public point is fast. Reversing the operation is hard.

  5. Creating and verifying signatures

    You can use a signature to prove that a private key authorized one exact message without revealing the key.

  6. Solana wallet and PDA authorization

    A wallet and a PDA can both receive signer privilege. Let's trace how each one proves its authority.

References