Generate RSA public and private key pairs in PEM format. Choose from 1024, 2048, or 4096-bit key sizes for different security requirements.
Select a key size and click "Generate Key Pair" to create your RSA keys.
RSA (Rivest–Shamir–Adleman) is one of the first public-key cryptosystems and is widely used for secure data transmission. An RSA key pair consists of a public key (for encryption or verifying signatures) and a private key (for decryption or signing).
Keys are generated in PKCS#1 PEM format, recognizable by -----BEGIN RSA PUBLIC KEY----- and -----BEGIN RSA PRIVATE KEY----- headers. This format is widely compatible with OpenSSL and most cryptographic libraries.
Keys are generated server-side using Node.js's built-in crypto module and are not stored or logged. For maximum security in production, generate keys on your own machine using OpenSSL: openssl genrsa -out private.pem 2048.