API & MCP

Everything a person can do on RSA/ECC Key Inspector, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

RSA/ECC Key Inspector

Paste an RSA, EC (P-256/P-384/P-521, secp256k1, brainpool), Ed25519/Ed448 or X25519 key as PEM, base64/hex DER, JWK or OpenSSH line. Shows key type, size or curve, public exponent, SHA-256 SPKI and OpenSSH fingerprints, the RFC 7638 JWK thumbprint, detects encrypted private keys and their KDF, rates the key against current guidance and converts the PUBLIC key between PEM, JWK and OpenSSH formats.

Inputs of RSA/ECC Key Inspector
FieldTypeDefaultDescription
key (required)textarea—Key (PEM, base64/hex DER, JWK or OpenSSH). Public keys are best. Never paste production private keys into any web tool. With JavaScript on, private keys are converted to their public key before anything is sent.
showAsn1booleantrueShow the ASN.1 structure of the public key

Example request

RSA-2048 public key (PEM)

curl -X POST https://rsaecckeyinspector.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh3BIrCB410mLVroKIYbJ\nUPfbt6YGNqOyz/2j7yyi5kOjNVVbFPp02sqjt6i+ZEDvaH5kJIU4P+25V330U0h4\nmXfqN+0yDClu7yxsDLdbVBT7HZHWRuasFoR1ZoZCtlQDg7yP/ubHuWTIVPRHMzRm\n45s7+nUnziEXCDIUhwSxLLTu1Nbo8YfmJEFDKVW+hY8AjlrR6HmNKqjMqiVT+R0U\nVNpB0Y3+koWbPs6WWW0xNpzER2ffGS3IPT0sD++SChsbbZYXJ9gVockGuNifXk1J\n+O/wdXu1FFp9oIua/h2pMwfCYOTci7NZsY4P1dcELAF/+Q/bIz//QMgW+QyGVk9c\nEwIDAQAB\n-----END PUBLIC KEY-----"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "rsa-ecc-key-inspector": { "type": "http", "url": "https://rsaecckeyinspector.usefulweb.site/mcp" }
  }
}