{"uid":"cap_ibmY5bpH-L8ZbOxiMaosc","slug":"sitecheck-hash-generator-0d45ef18","name":"SiteCheck Hash Generator","description":"Hashes of a text or base64 input (up to 1 MB): MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32, and HMAC-SHA-256 or HMAC-SHA-512 when a key is given. Hex and base64 output. MD5 and CRC-32 are implemented here and checked against RFC 1321 and the standard CRC test vector. Body { input, encoding, algorithms, key }. Pure code and WebCrypto, no outside request.","url":"https://api.sitecheck-api.workers.dev/api/hash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Key for the HMAC algorithms, up to 1024 characters (JSON body field)"},"input":{"type":"string","description":"The text, or base64 when encoding is base64 (JSON body field)"},"encoding":{"type":"string","description":"text (default) or base64"},"algorithms":{"type":"string","description":"Comma-separated: md5, sha1, sha256, sha384, sha512, crc32, hmac-sha256, hmac-sha512 (default: all but the HMACs)"}}},"responseSchema":{"type":"json","example":{"bytes":3,"source":"Computed here: WebCrypto (SHA-1/2, HMAC), MD5 (RFC 1321) and CRC-32 (ISO 3309) in code","results":{"md5":{"hex":"900150983cd24fb0d6963f7d28e17f72","base64":"kAFQmDzST7DWlj99KOF/cg=="},"crc32":{"hex":"352441c2","base64":"NSRBwg=="},"sha256":{"hex":"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad","base64":"ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0="}},"checkedAt":"2026-10-15T14:07:52.198Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TKtFRP632c0N-W96IdCOT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes multiple cryptographic hashes (MD5, SHA-1, SHA-256, SHA-384, SHA-512, CRC-32, HMAC-SHA256, HMAC-SHA512) for a given text or base64-encoded input in a single call","exampleAgentPrompt":"Can you compute the SHA-256 and MD5 hashes of the text 'hello world' for me?","exampleUseCases":[{"title":"File integrity checksum verification","prompt":"Compute the SHA-256 and CRC-32 checksums of this base64-encoded file chunk so I can verify it hasn't been tampered with — the content is 'SGVsbG8gV29ybGQ=' and the encoding is base64."},{"title":"HMAC signature for API request","prompt":"Generate an HMAC-SHA256 signature for the message 'user_id=42&action=purchase' using the key 'mysecretkey123' — I need the hex digest to validate the webhook."},{"title":"Multi-algorithm hash for deduplication","prompt":"Hash the string 'product-sku-98765' using MD5, SHA-1, and SHA-256 all at once so I can use these as deduplication keys across different systems."}],"resultDescription":"Returns a JSON object containing the byte length of the input, the hash results for each requested algorithm (each with both hex and base64 representations), a source note describing the computation backend (WebCrypto, MD5, CRC-32), and a checkedAt ISO timestamp.","failureModes":["Missing or empty 'input' field returns an error","HMAC algorithms requested without providing a 'key' field fail","Invalid algorithm name in 'algorithms' list causes rejection","Input exceeding expected size limits may be rejected","Base64 encoding specified but input is not valid base64"],"whenToPreferThis":"Choose this endpoint when you need multiple hash algorithms computed in a single API call without running local crypto libraries, when you need HMAC signatures without managing crypto dependencies, when working in environments where WebCrypto is unavailable, or when you want MD5/CRC-32 alongside SHA-family hashes in one unified response. Prefer alternatives if you only need a single standard hash and have access to native crypto libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T04:46:22.403Z","isFirstParty":false,"canonicalSlug":"sitecheck-hash-generator-0d45ef18"}