</>DevTools

RSARSA Key Generator

Generate RSA public/private key pairs

RSA Key Generator Complete Guide

RSA, published in 1977, is the most widely-used public-key cryptography algorithm. It's the foundation of SSL/TLS certificates, SSH keys, JWT signing, GPG, and more. This tool uses the W3C-standard Web Crypto API to generate keys 100% in your browser — private keys never leave your machine.

Enhanced Features

  • 4 Key Sizes: 1024 (deprecated), 2048 (standard), 3072, 4096 (high-security)
  • 2 Usages: Encryption (RSA-OAEP) / Signing (RSASSA-PKCS1-v1_5)
  • PEM Download: Save as .pem file instantly
  • Color Coding: Public key (green) / Private key (red)
  • Safety Reminder: Private key protection guidance

Key Size Security Levels (NIST)

RSA bitsSymmetric equivRecommended UntilSpeed
1024 ⚠️80-bitDeprecated (since 2010)Very fast
2048112-bit~2030 (current standard)Fast
3072128-bit~2050Medium
4096~150-bitHigh-security, gov/financeSlow (1/4 of 2048)

Use Cases

  • SSH Login: Passwordless server access (~/.ssh/id_rsa)
  • SSL/TLS Certs: HTTPS website security
  • JWT Signing: RS256 algorithm for token integrity
  • GPG Email: Sender authentication / encryption
  • API Authentication: Public-key registration / signature-based auth

⚠️ Private Key Security: Never commit to git, use permission 600 (rw-------), encrypt with strong passphrase. Rotate immediately if exposed.

🔗Related Tools🔐 Crypto / Security