# Security Math – NIST Key Size Equivalence

> Security Math – NIST Key Size Equivalence is a paid API for AI agents from security-math.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns NIST SP 800-57 comparable security strengths for RSA, DH, DSA, ECC, AES, TDEA, and hash algorithms, including 2030 compliance status.

## Facts

- Endpoint: GET https://security-math.x402tookit.com/key-size-equivalence?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/security-math-nist-key-size-equivalence-55e551d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RhyBcsiaxchpN9YlEOVhZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability security-math-nist-key-size-equivalence-55e551d1
```

Example prompt: What security strength does a 2048-bit RSA key give me, and is it still acceptable past 2030 according to NIST SP 800-57?

## When to prefer this

Use this endpoint when you need authoritative NIST SP 800-57 key-strength comparisons across cryptographic algorithms — especially for compliance checks, security policy decisions, or comparing RSA/ECC/AES/hash equivalences. Prefer it over general cryptography references when you need structured, machine-readable output with 2030 status verdicts.

## Known failure modes

- Missing required query parameters 'algorithm' or 'size' returns an error
- Unsupported algorithm name returns an error or null fields
- Invalid size value for the chosen algorithm returns a null or degraded result
- Payment not included or insufficient USDC triggers 402 Payment Required

## How this service works

NIST SP 800-57 comparable strengths: RSA, DH, DSA, ECC and AES key sizes to security bits, hash strengths, 2030 status.

## Output

Returns the security strength in bits for the given algorithm and key/hash size, equivalent key sizes across RSA, ECC, DH/DSA (FFC), and symmetric algorithms, a 2030 compliance verdict, status label, reasons for any degraded rating, and a disclaimer referencing NIST SP 800-57. May also include a comparison table of all standard strength levels.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "algorithm",
      "size"
     ],
     "properties": {
      "size": {
       "type": "string",
       "description": "Key size in bits, hash name, or target security strength, per algorithm"
      },
      "algorithm": {
       "type": "string",
       "description": "One of rsa, dh, dsa, ecc, aes, tdea, hash, strength: rsa, dh, dsa (size = modulus bits), ecc (size = key bits), aes (128/192/256), tdea (2 or 3 keys), hash (size = name such as sha-256), strength (size = 80/112/128/192/256)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "size": {
       "type": [
        "null",
        "number"
       ]
      },
      "table": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "ffcDsaDh": {
          "type": [
           "null",
           "string"
          ]
         },
         "symmetric": {
          "type": [
           "null",
           "string"
          ]
         },
         "eccKeyBits": {
          "type": [
           "null",
           "string"
          ]
         },
         "ifcRsaModulusBits": {
          "type": [
           "null",
           "number"
          ]
         },
         "securityStrengthBits": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "status": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/security-math-nist-key-size-equivalence-55e551d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from security-math.x402tookit.com](https://www.zero.xyz/host/security-math.x402tookit.com/llms.txt)
