{"uid":"cap_y8dH99Ivr4KmUyFQB0Vot","slug":"security-math-password-entropy-calculator-2d4532bc","name":"Security Math – Password Entropy Calculator","description":"Entropy bits for a random password policy, PIN or diceware passphrase from length and alphabet, with crack-time ranges.","url":"https://security-math.x402tookit.com/password-entropy?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":["length"],"properties":{"lower":{"type":"string","description":"true if a-z are used (default true)"},"upper":{"type":"string","description":"true if A-Z are used (default false)"},"words":{"type":"string","description":"true for a passphrase of random words drawn from poolSize words"},"digits":{"type":"string","description":"true if 0-9 are used (default false)"},"length":{"type":"integer","description":"Number of random characters (or words when words=true), 1 to 1000"},"symbols":{"type":"string","description":"true if the 32 ASCII punctuation symbols are used (default false)"},"poolSize":{"type":"integer","description":"Override: exact alphabet size, or word-list size when words=true (diceware = 7776)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"unit":{"type":["null","string"]},"length":{"type":["null","number"]},"rating":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"crackTimes":{"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"]}}}},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"bitsPerUnit":{"type":["null","number"]},"entropyBits":{"type":["null","number"]},"log10Guesses":{"type":["null","number"]},"alphabetOrListSize":{"type":["null","number"]},"characterClassSizes":{"type":["null","object"],"properties":{"lower":{"type":["null","number"]},"upper":{"type":["null","number"]},"digits":{"type":["null","number"]},"symbols":{"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_VL1v2Rf5JfK7dXhq7tOrI","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":"Computes entropy bits for a password, PIN, or diceware passphrase given its length and character set, plus estimated crack-time ranges across attacker profiles.","exampleAgentPrompt":"What's the entropy and estimated crack time for a 12-character random password using lowercase letters, uppercase letters, and digits — give me the ratings and attacker crack-time breakdown.","exampleUseCases":[{"title":"Evaluating corporate password policy strength","prompt":"Our password policy requires 10 characters minimum with uppercase, lowercase, and at least one digit — calculate the entropy bits and show me how long it would take different attackers to crack it."},{"title":"Comparing diceware passphrase security","prompt":"How secure is a 6-word diceware passphrase drawn from the standard 7776-word list? Give me the entropy bits and crack-time estimates."},{"title":"Auditing a legacy 4-digit PIN policy","prompt":"We're reviewing our ATM PIN security — what's the entropy and expected crack time for a 4-digit numeric PIN (digits only, length 4)?"}],"resultDescription":"Returns entropy bits total and per character/word, a strength rating and verdict, a summary explanation, a list of contributing reasons, and an array of crack-time entries for different attacker profiles (each with attacker name, assumption, guesses-per-second, average time, and worst-case time). Also includes a disclaimer, any factors not checked, and a timestamp.","failureModes":["Missing required 'length' parameter returns an error","Length outside 1–1000 range may return a validation error","Conflicting flags (e.g., words=true with character flags) may produce unexpected pool sizes","Network or payment failure returns 402 or connection error","Very large pool sizes or extreme lengths may return degraded=true with a warning"],"whenToPreferThis":"Use this endpoint when you need a rigorous, multi-attacker-profile entropy and crack-time analysis for a specific password or passphrase policy — especially when you need to compare character sets (lowercase only vs. alphanumeric vs. full ASCII), evaluate diceware passphrases, or justify security decisions with quantified crack-time estimates. Prefer it over generic password strength checkers when you need numeric entropy bits and attacker-model breakdowns rather than a simple weak/strong label.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:34.897Z","isFirstParty":false,"canonicalSlug":"security-math-password-entropy-calculator-2d4532bc"}