Live simulationPAUSED
What you are exploring
RSA uses a product of two primes as a public modulus. A public exponent encrypts a message with modular exponentiation; a private exponent reverses the operation. This small-number playground is educational only and is not secure for real secrets.