SecureDevutils
/Security/
RSA Public/Private Key & SSH Key Generator
Ctrl+K
TOOLS
🔑

RSA Key Generator

Generate cryptographically secure RSA public/private key pairs and SSH keys locally.
RSA Generator
Key Size:
Zero-Server Privacy Guarantee: Keys are generated locally inside your browser's cryptographic memory. No keys are ever transmitted over the network or saved on our servers.
PUBLIC KEY (SPKI / PEM)
Click "Generate Keypair" to generate a public key.
PRIVATE KEY (PKCS#8 / PEM)
Click "Generate Keypair" to generate a private key.

Related Tools

About this Tool

Generate cryptographically secure RSA Public and Private key pairs with custom key sizes entirely in your browser.

1What is RSA Key Generation?

RSA (Rivest-Shamir-Adleman) is an asymmetric cryptographic algorithm used for secure data transmission. It relies on a key pair: a Public Key (used to encrypt data or verify signatures) and a Private Key (kept secret and used to decrypt data or sign documents).

2Custom Key Sizes and Formats

Generate keys tailored to your security requirements. Choose from standard key sizes: • 1024-bit: Lightweight, deprecated for modern production environments. • 2048-bit: Standard strength, widely used for SSH and certificates. • 4096-bit: High security, recommended for long-term sensitive operations. Keys are exported in standard PEM format (PKCS#8/PKCS#1) ready to be saved as .pem files.

3Understanding RSA Asymmetric Cryptography

Unlike symmetric key encryption (like AES) which uses the same key for encryption and decryption, RSA uses two distinct keys. This allows developers to securely share their public key with clients to encrypt messages, knowing only the private key holder can decrypt them.

4Absolute Privacy: Local Cryptography

Generating private keys online is usually a major security risk. Secure Devutils utilizes the browser-native Web Crypto API (window.crypto.subtle) to calculate large primes and generate the keys locally on your CPU. The private key never travels across the network, ensuring complete confidentiality.

Privacy Guarantee

Secure Devutils operates exclusively in your browser using local web workers and JavaScript. Your source code, configurations, and sensitive text payloads are never transmitted across the network or stored on any external servers. It is completely safe for air-gapped environments.