Real RSA keypair generation and encryption (OAEP-SHA256) in your browser. Key fingerprint, modulus and exponent displayed in hex. PEM export ready to paste into OpenSSL or a JWT library.
4096-bit keygen takes several seconds. The browser will block during this — be patient.
Most "RSA online" tools lie. They either hardcode a single test key, or they encrypt with textbook RSA (no padding), which is catastrophically broken — given a few ciphertexts and the public key, an attacker can recover any plaintext. Real RSA uses OAEP padding, which adds randomness to each encryption.
How OAEP works. OAEP — Optimal Asymmetric Encryption Padding — uses two hash functions and a random seed to transform the plaintext before modular exponentiation. The result: the same plaintext encrypted twice produces two different ciphertexts. This blocks the chosen-ciphertext attacks that break textbook RSA. OAEP-SHA256 is the modern standard.
Why keygen is slow. RSA key generation requires finding two large random primes p and q, then computing n = p × q and d = e⁻¹ mod φ(n). For 4096-bit RSA, each prime is ~2048 bits — there are roughly 2^2014 candidate primes per second on modern hardware, but you still need to test thousands. Expect 5–30 seconds for 4096-bit keys. 2048-bit takes ~1 second.
What this tool exposes. After generation, you see the modulus n in hex, the public exponent e (= 65537 by default), the private exponent d in hex, and the SHA-256 fingerprint of the DER-encoded public key. The fingerprint lets you verify a key out-of-band ("are you really sending me Alice's key?") without revealing the key itself.
You need to encrypt a small payload (a JWT signing key, an API key) with RSA-OAEP. This tool produces PEM you can paste into Node.js or Python. No server. No accidental upload of your secret.
Generating a key and seeing the modulus makes RSA concrete. The fingerprint display shows how SSH and TLS verify keys by hash. The max-plaintext calc shows why hybrid encryption exists.
You want to know exactly what timing looks like, what exponents are produced, what the output format looks like. This tool exposes every parameter. Run with the console open.