ECC Visualizer

Elliptic Curve Cryptography -- from curve math to ElGamal encryption

Elliptic Curve

y² = x³ + (-1)x + (1)
-5-4-3-2-112345-5-4-3-2-112345G

Click on curve to place points

Curve Parameters

4a³ + 27b² = 23.00

Message

Point Addition

P + Q
PP = O (infinity)
QQ = O (infinity)
LINEDraw line through P and Q
R'R' = O (infinity)
SUMP + Q = O (infinity)

Place P and Q on the curve above

Scalar Multiplication

3G (binary: 11)

Key Generation

Q = 5G
-5-4-3-2-112345-5-4-3-2-112345G

Generator

Base point

G = (0.000, 1.000)

On curve
Non-singular

Private key d = 5

Binary: 101

Operations: 2 double, 1 add

Generate keys to see Q

Encryption

ElGamal

Enter a message first

Decryption

ElGamal

Encrypt a message first