{"uid":"cap_VUGEkInAm9WLKwIMnQhhK","slug":"agent-data-bench-sha256-sha512-sha1-md5-hash-ee391d76","name":"Agent Data Bench – SHA256/SHA512/SHA1/MD5 Hash","description":"Hash text with sha256 (default), sha512, sha1 or md5 and get hex plus base64 in one call. Handy for agents that must fingerprint prompts, files or payloads without a local crypto library.","url":"https://x402.deepsense.stream/api/v1/hash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"algo":{"enum":["sha256","sha512","sha1","md5"],"type":"string","default":"sha256"},"text":{"type":"string","maxLength":200000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dUhlPE80ZECeOZO5jKmhP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hashes a text string using sha256, sha512, sha1, or md5 and returns both hex and base64 encodings in a single call.","exampleAgentPrompt":"Hash this text using sha256 and give me both the hex and base64 digest: 'Hello, world! This is my payload.'","exampleUseCases":[{"title":"Fingerprinting LLM prompts for deduplication","prompt":"Take this prompt text and give me its sha256 hash in hex and base64 so I can check if we've already processed it: 'Summarize the following article about climate change…'"},{"title":"Generating MD5 checksums for legacy compatibility","prompt":"I need to verify a file checksum using md5 — can you hash this string 'order_id=9821&amount=49.99&user=alice' with md5 and return the hex digest?"},{"title":"Creating content integrity token with sha512","prompt":"Hash this JSON payload with sha512 so I can attach it as an integrity fingerprint before sending it to a third-party service: '{\"event\":\"purchase\",\"item\":\"widget\",\"qty\":3}'"}],"resultDescription":"Returns the computed hash of the input text in both hex and base64 formats, along with the algorithm used, in a single JSON response.","failureModes":["Text exceeds 200,000 character limit — request rejected","Invalid algorithm value not in [sha256, sha512, sha1, md5] — validation error","Empty or missing text field — may return error or hash of empty string","Network timeout or service unavailability — HTTP 5xx error","Payment failure via x402 protocol — call not executed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to hash text without access to a local crypto library, or when you need both hex and base64 digest formats returned together in one call. It supports four common algorithms (sha256, sha512, sha1, md5) and is ideal for prompt fingerprinting, payload integrity checks, or legacy checksum generation. Prefer it over building custom hashing logic when operating in a serverless or restricted runtime environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:40.157Z","isFirstParty":false,"canonicalSlug":"agent-data-bench-sha256-sha512-sha1-md5-hash-ee391d76"}