Zeeka saysAn elliptic curve over a finite field is a set of points with a geometric "addition" law — the hard-to-reverse engine behind almost every blockchain key.
An elliptic curve is the set of points (x, y) satisfying y² = x³ + ax + b over a finite field, plus a special "point at infinity" that acts as zero. A chord-and-tangent rule defines how to add two points, and that operation turns the points into a group. A public key is just a secret scalar k multiplied into a fixed base point G, written k·G — repeated point addition.
Security comes from the discrete-log problem: given G and k·G it is infeasible to recover k. Bitcoin and Ethereum keys use secp256k1; pairing- and ZK-friendly systems use curves like bn254 and bls12-381. The toy curve below over GF(97) uses the exact same group law — just small enough to print every point.
Power-ups you unlock
Points satisfy y² = x³ + ax + b over a finite field
A chord-and-tangent rule defines P + Q and point doubling
A public key is a secret scalar k times a base point G: k·G
secp256k1 (bitcoin/eth keys) vs bn254 / bls12-381 (pairings, ZK)
Security rests on the discrete-log problem: recovering k from k·G is infeasible
The Collision attacks — common mistakes
Forgetting the point at infinity — the identity element O
Using the addition formula when P == Q (you need the doubling formula)
Dividing instead of multiplying by a modular inverse for the slope
Assuming bigger curves are always better — pairing curves trade speed for features
Boss battleOn y² = x³ + 2x + 3 over GF(97), find a base point G and verify that G + 2G equals 3G.