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.