Generate secure 1024, 2048, or 4096-bit RSA public and private key pairs in PKCS#1, PKCS#8 or JWK formats.