{"uid":"cap_O-3SVZWk8qP8F6t6tIBrv","slug":"security-math-brute-force-crack-time-calculator-4962a7ee","name":"Security Math: Brute-Force Crack Time Calculator","description":"Time to brute-force a space of N bits (or N guesses) at a guesses-per-second rate: average, worst case, and presets.","url":"https://security-math.x402tookit.com/crack-time?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"averageTime":{"type":["null","string"]},"log10Guesses":{"type":["null","number"]},"worstCaseTime":{"type":["null","string"]},"averageSeconds":{"type":["null","number"]},"guessesPerSecond":{"type":["null","number"]},"worstCaseSeconds":{"type":["null","number"]},"groverEquivalentBits":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zOtzVcnAhCzMhtBTUHT1y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Evaluate DES key strength","prompt":"I need to know how long it would take a modern attacker to brute-force a 56-bit DES key — show me average and worst-case crack times with preset attacker scenarios."},{"title":"Validate AES-128 for compliance","prompt":"Can you calculate the brute-force crack time for a 128-bit AES key so I can include it in our security documentation? Include both average and worst-case estimates."},{"title":"Assess custom attacker model","prompt":"How long would it take to crack a 80-bit search space if the attacker can do 10 billion guesses per second? I need average and worst-case time estimates."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:40:44.290Z","isFirstParty":false,"canonicalSlug":"security-math-brute-force-crack-time-calculator-4962a7ee"}