RSA Key Pair Generator
Generate RSA key pairs for encryption and signing
About RSA Key Pair Generator
Generate 2048 or 4096-bit RSA key pairs for encryption or signing. Export PEM keys, view fingerprints, and download files — all generated in your browser.
- Generates 2048 or 4096-bit RSA key pairs
- Supports both RSA-OAEP (encrypt) and RSA-PSS (sign) modes
- Exports keys in standard PEM format
- Shows key fingerprint for verification
- Download public and private keys as separate files
Everything runs in your browser — your data never leaves your device.
How to Use RSA Key Pair Generator
- Select the key purpose (encryption or signing), key size, and hash algorithm
- Click Generate to create a new RSA key pair
- View the key fingerprint, copy PEM keys, or download as files
Frequently Asked Questions
What is RSA?
RSA is an asymmetric encryption algorithm using a public key (for encrypting/verifying) and a private key (for decrypting/signing). It's the foundation of SSL/TLS and SSH.
What is the difference between RSA-OAEP and RSA-PSS?
RSA-OAEP is for encryption (encrypt with public key, decrypt with private key). RSA-PSS is for digital signatures (sign with private key, verify with public key).
Which key size should I choose?
2048-bit is the minimum recommended and sufficient for most uses. 4096-bit offers stronger security but is slower to generate.
Are these keys truly secure?
Yes. Generated using the Web Crypto API with your OS's cryptographic random number generator. Keys never leave your browser.