Generate a random RSA private and public PEM key pair using the browser's native Web Crypto API. Keys are never sent to any server.
RSA (Rivest, Shamir, Adleman) is an asymmetric encryption algorithm. It generates two mathematically linked keys: a public key you share openly, and a private key you keep secret. Data encrypted with the public key can only be decrypted with the private key, and vice versa. RSA is also used for digital signatures: you sign with the private key and anyone with the public key can verify the signature.
1024-bit — considered weak by current standards. Do not use for real security. Only for testing environments where generation speed matters.
2048-bit — the current minimum recommended key size for production use. NIST considers 2048-bit RSA keys secure through at least 2030.
4096-bit — the conservative choice for long-lived keys or high-security applications. Generation takes a few seconds and operations are slower, but the security margin is significantly larger.