A worked example, rendered from real sample data. Sign in to run the tool on your own input.
type=rsa
size=2048Key Pair Generated (RSA)
═════════════════════════════════════
Configuration:
Algorithm: RSA
Key Size: 2048 bits
Format: PKCS#8
Private Key (keep secret!):
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAulXlUBvtakShajtUBYSpAz0DSi6xNVe0PEbylmUB8QtqkVuz
sEfYFUCoVS9k+zvHy/WfWEHSTIxI72FTahx+XU+wehs3mNGczeGKh/E+yauRNEai
-----END RSA PRIVATE KEY-----
Public Key (can be shared):
-----BEGIN RSA PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAulXlUBvtakShajtUBYSp
Az0DSi6xNVe0PEbylmUB8QtqkVuzSqyuU9x9kKzdT7DfDLTNFrC+WLy9S6i+kaRu
-----END RSA PUBLIC KEY-----
Security Recommendations:
- Protect the private key with strong permissions (chmod 600)
- Consider encrypting the private key with a passphrase
- Rotate keys periodically
- Store backups securely
Generate RSA or EC key pairs with configurable key size and curve. Part of the DevTools Surf developer suite. Browse more tools in the Security / Crypto collection.