Tested tool guide
Tested browser tools
Checked August 16, 2026
What RSA Key Pair Generator does, with a checked example
Two very different files come out of this button: a short public key you can hand to anyone, and a long private key that must never leave your machine. Both are PEM text blocks you can paste into servers, apps, and config files, and the whole job runs in the browser, so no key material is ever uploaded. The recurring surprise is the direction of no-return: the public key cannot be reversed into the private key, so losing the private key is permanent - no reset, no recovery.
Worked example
A concrete input and expected output from the current implementation.
Input
Select 2048-bit and click Generate. There is no text to type - the tool supplies the randomness itself.
->
Expected output
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
<360 more base64 characters encoding the generated modulus and the exponent 65537, wrapped at 64 per line>
-----END PUBLIC KEY-----
The example elides the middle of the body; the saved file frames the full base64 between two boundary lines, in rows of at most 64 characters.
The first base64 line is fixed: it encodes the 24-byte DER header shared by every RSA-2048 public key in this format - the SubjectPublicKeyInfo structure, the rsaEncryption identifier (1.2.840.113549.1.1.1), and the bit-string header. The remainder encodes the random modulus (a 257-byte DER integer including its leading zero) and the exponent 65537, so the body changes on every generation and cannot be predicted.