RSA Key Generator
Generate RSA key pairs with 2048, 3072, 4096 bit sizes. PEM format output with fingerprint. Runs entirely in your browser.
What is an RSA key pair?
An RSA key pair consists of a public key and a private key. The public key can be shared openly to encrypt data or verify signatures, while the private key must be kept secret to decrypt data or create signatures.
What key size should I use?
RSA 2048 bits is the minimum recommended for general use. RSA 3072 bits provides enhanced security, and RSA 4096 bits offers the highest security level. Larger keys are more secure but slower to generate and use.
Is my private key safe?
All key generation happens entirely in your browser using the Web Crypto API. Your private key never leaves your device. However, always store your private key securely and never share it.
What is a key fingerprint?
A key fingerprint is a short, unique identifier (SHA-256 hash) of the public key. It allows you to easily verify and compare keys without comparing the entire key content.
What is PEM format?
PEM (Privacy Enhanced Mail) is a base64-encoded format for storing cryptographic keys. It's the most widely used format for SSL certificates, SSH keys, and other cryptographic applications.
Can I use these keys for SSH?
Yes, RSA keys generated in PEM format can be used for SSH authentication. However, you may need to convert them to OpenSSH format using ssh-keygen for some SSH clients.
How does RSA encryption work?
RSA is an asymmetric cryptographic algorithm based on the mathematical properties of large prime numbers. It uses a public key for encryption and a corresponding private key for decryption.
What are common use cases for RSA keys?
RSA keys are used for secure data encryption, digital signatures, SSL/TLS certificates, SSH authentication, code signing, and secure communication protocols.
Do I need to install any software?
No, this tool runs entirely in your browser. No software installation, registration, or server communication is required. Everything happens locally on your device.
How long does key generation take?
Key generation time depends on the key size. RSA 2048 takes less than a second, RSA 3072 takes 1-2 seconds, and RSA 4096 takes 2-5 seconds on modern devices.