RSA Encryption for a random-number generator
Built for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model. Simulate a random-number generator 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 researchers?
- Yes — this version of "RSA Encryption for a random-number generator" is framed for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.