Skip to content
OneKitly

RSA encryption simulator

Walk through the RSA public-key cryptosystem end to end with your own primes. Enter two primes p and q and a numeric message m: the simulator computes the modulus n = pq and the totient φ = (p−1)(q−1), picks or validates a public exponent e coprime to φ, derives the private exponent d = e⁻¹ mod φ, then encrypts c = mᵉ mod n and decrypts back mᵈ… = m — every step shown with big-integer arithmetic. The definitive way to see why RSA actually works.

Soroban abacus simulatorAn interactive Japanese soroban you can actually use. Click the beads across thirteen columns — one heaven bead worth five and four earth beads worth one each — and the decimal value updates live beneath. Clear it, roll a random number, type a value to set the beads, or solve a quick addition, subtraction, multiplication or division and show the answer on the frame.Logic Gate SimulatorDraws the gate diagram for a boolean expression and lets you flip each input to watch the signal travel through. Half-adder, multiplexer, parity and majority circuits are one click away.Amicable Number CheckerCheck whether two numbers are amicable — or give just one and get its candidate partner plus the verified loop, with perfect and sociable numbers identified.Arctan2 Calculator (atan2 of y and x)atan2(y, x) is not atan(y/x): it reads the signs of both arguments to place the angle in the right quadrant over the full −180°…180° turn, and it stays defined when x = 0. Enter x and y, read the angle in degrees or radians, see the quadrant and the point plotted. For a single ratio with no quadrant information, use the arctan calculator instead.Carry and borrow visualizerAdds or subtracts two whole numbers the way it is taught in school — set up in columns, digit by digit — and highlights every carry (addition) or borrow (subtraction) as it happens. A clear way to see the mechanic behind column arithmetic.Ceiling and floor function calculatorThe ceiling ⌈x⌉ rounds up to the next integer, the floor ⌊x⌋ rounds down. Enter any number to get both, plus the ordinary round, the truncation toward zero and the fractional part left over.Common Factor CalculatorFind every common factor of 2 to 10 numbers, with the greatest common factor highlighted and coprime pairs flagged.Comparing fractions calculatorWhich fraction is bigger? Enter two and it cross-multiplies to compare them exactly — no rounding — and shows both as decimals so you can see how close they are.

Open RSA encryption simulator and you get an answer straight away, with no account to create. It covers the simulator computes the modulus n = pq and the totient φ = (p−1)(q−1), picks or validates a public exponent e coprime to φ, derives the private exponent d = e⁻¹ mod φ, then encrypts c = mᵉ mod n and decrypts back mᵈ… = m — every step shown with big-integer arithmetic. The definitive way to see why RSA actually works — adjust any of them and the result follows immediately.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What does RSA encryption simulator do?

Walk through the RSA public-key cryptosystem end to end with your own primes. Enter two primes p and q and a numeric message m: the simulator computes the modulus n = pq and the totient φ = (p−1)(q−1), picks or validates a public exponent e coprime to φ, derives the private exponent d = e⁻¹ mod φ, then encrypts c = mᵉ mod n and decrypts back mᵈ… = m — every step shown with big-integer arithmetic. The definitive way to see why RSA actually works.

What does a concrete case look like?

p = 61, q = 53 → n = 3233, φ = 3120, e = 17, d = 2753 — the tool shows every step in between, not just the final figure.

What does it take into account?

It factors in the simulator computes the modulus n = pq and the totient φ = (p−1)(q−1), picks or validates a public exponent e coprime to φ, derives the private exponent d = e⁻¹ mod φ, then encrypts c = mᵉ mod n and decrypts back mᵈ… = m — every step shown with big-integer arithmetic. The definitive way to see why RSA actually works. Change any of them and the output follows immediately.

When would I actually use this?

Reading a number written another way: a Roman numeral on a monument, a hexadecimal colour, a binary byte, or a fraction that needs reducing.

What is the most common mistake?

Assuming a decimal fraction survives a change of base. A tenth is exact in decimal and infinitely repeating in binary, which is why 0.1 + 0.2 is not 0.3 in most programming languages.

How is RSA encryption simulator different from Soroban abacus simulator?

They sit next to each other but answer different questions: Soroban abacus simulator is the one to open when you need it to an interactive Japanese soroban you can actually use. Click the beads across thirteen columns — one heaven bead worth five and four earth beads worth one each — and the decimal value updates live beneath. Clear it, roll a random number, type a value to set the beads, or solve a quick addition, subtraction, multiplication or division and show the answer on the frame. Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

Logic Gate Simulator is the closest one after this: Draws the gate diagram for a boolean expression and lets you flip each input to watch the signal travel through. Half-adder, multiplexer, parity and majority circuits are one click away.

Where do the figures come from?

Base conversion and number-theory results are exact. Roman numerals follow the standard subtractive form used since the Middle Ages, which is not the only one the Romans themselves used.

Further reading

All guides