Skip to content
OddsockLocal
Local
Source text
RSA key size3072
ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Choose 3072 unless a written requirement says 2048 or 4096.
  2. Wait for the pair. Larger keys take longer.
  3. Store the private key offline from the chat and the ticket.
  4. Send only the public key to the other party.

What is RSA keys?

Some verifiers still say RSA and will not accept Ed25519. This page generates only RSA, as PEM: a public key in an SPKI block and a private key in a PKCS#8 block. The sizes are 2048, 3072, and 4096. It opens at 3072, which is the size to ship unless you are talking to a system that still insists on 2048 or a policy that demands 4096. The public exponent is 65537.

Read more

Generation of a 4096-bit key takes longer because the search for primes takes longer. That wait is the machine working, not a stalled page. The private key appears in the tab and nowhere else. It is not uploaded and not remembered. The general key-pair page can also emit RSA, and can emit it as OpenSSH or JWK. Stay here when the consumer asked for PEM and for RSA specifically, so the other formats are not a mis-click away.

A private key in a screenshot is a leaked key. Copy it into a file and clear the screen.

Use cases

  • A SAML or JWT integration requires RS256 and a PEM private key.
  • A certificate request workflow needs a 3072-bit key before the CSR is built elsewhere.
  • A legacy appliance documents 2048 and rejects other algorithms.
  • A security checklist asks for 4096 on a long-lived key.
  • A developer replaces a key that was pasted into a ticket by generating a new one and retiring the old public half.

A 3072-bit PEM pair

RSA key size 3072.

JSON with a public key block beginning -----BEGIN PUBLIC KEY----- and a private key block beginning -----BEGIN PRIVATE KEY-----. The modulus is 3072 bits. Generate your own. A published example is burned.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

Use Ed25519 when you can. Use this page when the other side named RSA. The key-pair page offers both.