# Security Math: Brute-Force Crack Time Calculator

> Security Math: Brute-Force Crack Time Calculator 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).

Calculates the average and worst-case time to brute-force a keyspace of N bits at a given guesses-per-second rate, with attacker-scenario presets.

## Facts

- Endpoint: GET https://security-math.x402tookit.com/crack-time?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-brute-force-crack-time-calculator-4962a7ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O-3SVZWk8qP8F6t6tIBrv

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-brute-force-crack-time-calculator-4962a7ee
```

Example prompt: How long would it take to brute-force a 128-bit keyspace at 1 trillion guesses per second — give me average and worst-case times along with any standard attacker presets?

## When to prefer this

Use this endpoint when you need a fast, authoritative calculation of brute-force crack time for a specific bit-size keyspace, especially when you want multiple attacker-speed presets in a single call. Prefer it over manual math or generic security guides when you need structured output (average vs worst-case, Grover bits) for programmatic use or compliance documentation.

## Known failure modes

- Missing required 'bits' parameter returns an error
- bits value outside 1–4096 range rejected
- guessesPerSecond outside 1–1e30 range rejected
- Malformed query parameters return HTTP 4xx
- Service degraded flag set if running in reduced capacity

## How this service works

Time to brute-force a space of N bits (or N guesses) at a guesses-per-second rate: average, worst case, and presets.

## Output

Returns average crack time, worst-case crack time, log10 of total guesses, guesses per second used, Grover-equivalent bits (for quantum context), a human-readable summary, a security verdict, and optionally a list of named attacker presets (e.g. laptop, GPU cluster, nation-state) each with their own average and worst-case times and assumptions.

## 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": [
      "bits"
     ],
     "properties": {
      "bits": {
       "type": "number",
       "description": "Size of the search space in bits of entropy, 1 to 4096 (e.g. 56 for DES, 128 for AES-128)"
      },
      "guessesPerSecond": {
       "type": "number",
       "description": "Attacker speed, 1 to 1e30 guesses per second (default: show all presets)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "bits": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "presets": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "attacker": {
          "type": [
           "null",
           "string"
          ]
         },
         "assumption": {
          "type": [
           "null",
           "string"
          ]
         },
         "averageTime": {
          "type": [
           "null",
           "string"
          ]
         },
         "worstCaseTime": {
          "type": [
           "null",
           "string"
          ]
         },
         "guessesPerSecond": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/security-math-brute-force-crack-time-calculator-4962a7ee/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)
