Elliptic Curve Cryptography

Elliptic Curve Cryptography (ECC) is a type of public key cryptography based on the mathematics of points on elliptic curves. Most major blockchains, including Bitcoin and Ethereum, use it to create key pairs and sign transactions.

ECC uses arithmetic on points of special mathematical curves defined over finite fields. A private key is simply a very large random number. Multiplying a fixed starting point on the curve, called the generator, by that number produces another point, which becomes the public key. This calculation is fast. Working backwards from the public key to the private key is known as the elliptic curve discrete logarithm problem, and it is considered infeasible with today's computers.

For crypto users, ECC is what makes ownership work. Bitcoin and Ethereum use the secp256k1 curve with the ECDSA signature scheme. Chains such as Solana and Zcash use EdDSA, which runs on a differently shaped curve. When a wallet sends coins, it signs the transaction with the private key. Anyone can check that signature against the public key without learning the private key. ECC also gives strong security with much shorter keys than older systems such as RSA.

A common misconception is that ECC encrypts blockchain data. On public blockchains it is mainly used for signatures, so transactions stay visible to everyone. In practice, the maths is rarely the weak point. Real losses come from stolen seed phrases, malware and flawed random number generation, and reusing the same random nonce in ECDSA can expose a private key. Sufficiently powerful future quantum computers running Shor's algorithm could, in theory, break the curves used today.

Learn more

Related terms