MYSIMULATOR / 2D LABS← Back to simulation gallery
Interactive science simulation

RSA Public-Key Encryption Playground

Choose small primes and a message to see RSA key generation, modular encryption and decryption.

Cybersecurity
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.

Made with 🤖 ChatGPT