Interactive Cipher Wheel • Frequency Cryptanalysis • ECB vs. CBC Avalanche • Diffie-Hellman & Step-by-Step RSA

Unlock the Mathematics of Secrecy—from Caesar Wheels to RSA & Zero-Knowledge Proofs.

Switch seamlessly between Beginner / Middle School, High School / AP CS & Discrete Math, and University / Applied Cryptography & Number Theory. Every curriculum card, interactive cipher wheel, frequency cracker, block mode visualizer, Diffie-Hellman clock spiral, and RSA calculator adapts to your academic tier.

Lab A • Substitution, Polyalphabetic & Bitwise Ciphers

Caesar / Vigenère / XOR Workbench & Frequency Cracker

Lab B • Block Diffusion & Cryptographic Avalanche

ECB vs. CBC Pattern Explorer & Hash Avalanche

8×8 Pixel Grid: Why ECB Leaks Visual Structure
1. Plaintext Grid
2. ECB Mode (Leaks!)
3. CBC Mode + IV

64-Bit Toy Avalanche Hash (Edit 1 character to see ~50% bit flip!)
Digest A:
Digest B:
Lab A • Discrete Logarithm & Shared Secret Agreement

Diffie-Hellman Key Exchange & Modular Clock

Alice's Computation
Bob's Computation
Lab B • Prime Factorization Trapdoor & Modular Inverses

Step-by-Step RSA Keygen, Encrypt & Decrypt

Eavesdropper (Eve) Intercept View: Eve sees Public Key (n, e) and Ciphertext c over the network. Click "🕵️ Eve Factor Attack" above to see how small primes can be factored quickly, whereas 2048-bit RSA primes take billions of years!
Beginner / Middle School

Interactive Cryptography Challenges

Streak
🔥 0
Score (Best)
0 / 0
Cryptographic Standards & Identities

Cryptography & Number Theory Reference