🔑 RSA Key Generator

Updated: 2026-07-11

⚙️ Key Parameters

📖 What is RSA Key for?

RSA is a type of asymmetric encryption algorithm, using key pair: public key and private key.

🔓
Public — Can be shared publicly
Used for encryption
🔒
Private — Must be protected
Used for decryption and signing

How it works: Anyone can use your public key to encrypt data, but only the holder of the private key can decrypt it. You can also use the private key to sign data, and others use the public key to verify the signature.

🔧 RSA Common Use Cases

❓ FAQ

Which key length should I choose?

2048-bit is the current standard, offering good security and performance. 4096-bit provides higher security but generation and computation are slower. 1024-bit is no longer secure and should not be used.

Will my data be uploaded to a server?

No. All tools run completely in the browser, using the Web Crypto API to generate keys. The private key never leaves your device.

Can generated keys be used for SSH login?

Yes. The generated PEM format private key can be used directly in SSH. The public key needs to be converted to OpenSSH format (ssh-rsa AAAA...), you can use: ssh-keygen -i -f public_key.pem -m PKCS8

What is PEM format?

PEM (Privacy-Enhanced Mail) is a Base64-encoded key file format, starting with "-----BEGIN ... KEY-----" and ending with "-----END ... KEY-----". It is the most common key storage and usage format.

Which browsers are supported?

All modern browsers (Chrome 60+, Firefox 60+, Edge 79+, Safari 11+) fully support the Web Crypto API. IE is not supported.