šŸ” Cryptography Simulator

ECC Encryption

Interactive visualization of Elliptic Curve Cryptography. Watch how points move on the curve as you encrypt and decrypt messages.

Elliptic Curve Visualization

Base G
Public Q
Ephemeral C1
GQ
Points on Curve
99
Order of G
50
Prime p
97

Key Generation

Public Key
Q = dĀ·G(85, 71)

Change d to see Q move on the curve in real-time.

šŸ“¤ Encrypt

šŸ“” Transmit

Sender shares (C1, ciphertext) with receiver over any channel.

šŸ“„ Decrypt

Uses private key d and C1 to derive the shared secret and recover the message.

Decrypted Message
Waiting for input...
āš ļø
Educational Demo Only
  • • This uses a tiny curve (p = 97) and simple keystream — NOT secure
  • • Real systems use standardized curves (P-256, Curve25519) and strong KDFs/AEs (HKDF + AES-GCM)
  • • Try changing d and k to see how points Q and C1 move on the curve