Classical Cryptography Simulator

Module 3: Mathematics of Asymmetric Key Cryptography

Explore the mathematical foundations of public key cryptography. Learn about primes, factorization, modular arithmetic, and the fundamental theorems that secure modern encryption.

Number Theory
Primes & Primality Testing
Explore prime numbers and learn various algorithms to test if a number is prime. Includes trial division, Fermat primality test, and Miller-Rabin algorithm.
Open Simulation
Number Theory
Factorization & Euler's Totient Function
Understand integer factorization and Euler's totient function (φ). Learn how to calculate φ(n) and its importance in RSA cryptography.
Open Simulation
Number Theory
Fermat's & Euler's Theorem
Study Fermat's Little Theorem and Euler's Theorem. Understand modular exponentiation and their applications in asymmetric cryptography.
Open Simulation
Number Theory
Chinese Remainder Theorem
Learn the Chinese Remainder Theorem (CRT) and its applications. Efficiently solve systems of linear congruences.
Open Simulation
Key Exchange
Diffie-Hellman Key Exchange
Interactive simulation of the Diffie-Hellman key exchange protocol. Learn how two parties can establish a shared secret over an insecure channel with step-by-step animations.
Open Simulation
Public Key Cryptography
RSA Algorithm
Complete RSA encryption and decryption simulation. Learn key generation, encryption, decryption, and digital signatures with step-by-step mathematical operations.
Open Simulation
Security Infrastructure
Key Distribution & Management
Learn about secure key distribution methods and comprehensive key management practices. Explore manual distribution, trusted third parties, public key systems, and complete key lifecycle management.
Open Simulation
Elliptic Curves
Elliptic Curve Arithmetic
Interactive exploration of elliptic curve operations including point addition, point doubling, and scalar multiplication. Visualize curves and understand the mathematical foundations.
Open Simulation
Elliptic Curves
Elliptic Curve Cryptography
Learn elliptic curve cryptography (ECC) including ECDH key exchange and ECDSA digital signatures. Compare ECC with RSA and understand the advantages of elliptic curves.
Open Simulation