RSA Encryption for a key exchange
Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a key exchange live below — adjust the inputs and watch it respond, right in your browser.
Controls
Presets
RSA rests on a one-way street: multiplying two big primes is easy, but factoring the product back apart is practically impossible. The public key (n, e) encrypts by raising the message to the power e mod n; only the private key d — computable only from the secret primes — can undo it. Real keys use 600-digit primes; these tiny ones just show the machinery.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with RSA Encryption
Frequently asked questions
- Is this good for k-12 students?
- Yes — this version of "RSA Encryption for a key exchange" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.