Back to Blog
🔑
Generating RSA Key Pairs
August 15, 2026
RSA (Rivest-Shamir-Adleman) is one of the oldest and most widely used asymmetric cryptographic algorithms. It forms the backbone of secure communications on the internet, including HTTPS and SSH.
Asymmetric vs Symmetric
Unlike symmetric encryption (like AES) which uses one shared key, asymmetric encryption uses a Key Pair:
- Public Key: This can be shared with anyone in the world.
- Private Key: This must be kept entirely secret.
The magic of RSA is the mathematical relationship between these two keys. If you encrypt a message with the Public Key, it can ONLY be decrypted by the Private Key.
What Are RSA Keys Used For?
- Secure Communication: Anyone can use your public key to encrypt a secret message, and only you (holding the private key) can read it.
- Digital Signatures: You can "sign" a document with your private key. Anyone can use your public key to verify that the signature is valid, proving that you sent it and it hasn't been tampered with.
Generating RSA keys (usually 2048 or 4096 bits) involves complex math involving massive prime numbers. Our tool handles this complex generation natively right in your browser!