{"uid":"cap_alWOwmtuRCrEUOENxuITq","slug":"agenttools-hash-digest-2a38ac8c","name":"AgentTools Hash Digest","description":"Compute exact hash digests of UTF-8 text using Web Crypto (SHA family) and a verified pure-JS MD5 for legacy checksums. Deterministic — identical input always yields the identical digest. Use this when an agent needs to sHA-256 / SHA-512 / SHA-1 / MD5, exact digests.","url":"https://agenttools-hub.vercel.app/api/v1/dev/hash?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":["text"],"properties":{"algo":{"enum":["sha256","sha512","sha1","md5"],"type":"string","description":"Algorithm"},"text":{"type":"string","description":"Text"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_L4mDii9LNS4siR3GlUEM-","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":"Computes exact cryptographic hash digests (SHA-256, SHA-512, SHA-1, MD5) of UTF-8 text using Web Crypto and a verified pure-JS MD5 implementation.","exampleAgentPrompt":"Can you compute the SHA-256 hash of the text 'Hello, world!' for me?","exampleUseCases":[{"title":"Content deduplication fingerprinting","prompt":"Hash this document title with SHA-256 so I can use it as a deduplication key: 'Q4 2024 Financial Report - Final Draft'"},{"title":"Legacy MD5 checksum for compatibility","prompt":"I need the MD5 checksum of the string 'user:admin:password123' — it's for a legacy system that requires MD5-based auth tokens."},{"title":"Data integrity verification","prompt":"Compute a SHA-512 digest of 'The quick brown fox jumps over the lazy dog' so I can verify this payload hasn't been tampered with."}],"resultDescription":"Returns a deterministic hexadecimal digest string for the provided input text using the requested algorithm (sha256, sha512, sha1, or md5). The same input and algorithm always produce the same output.","failureModes":["Missing required 'text' query parameter returns an error","Invalid 'algo' value (not in sha256/sha512/sha1/md5 enum) returns a validation error","Empty string input may return a valid hash of empty string (algorithm-defined behavior)","Non-UTF-8 content may cause encoding issues","Network timeout or Vercel cold start may cause latency spikes"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic hash digest of a text string and do not want to run crypto locally. Prefer SHA-256 for modern integrity checks, SHA-512 for maximum collision resistance, SHA-1 for compatibility with older systems, and MD5 only for legacy checksums where collision resistance is not required. This is ideal for agents that need to fingerprint, deduplicate, or verify text content without installing a cryptography library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:38:47.494Z","isFirstParty":false,"canonicalSlug":"agenttools-hash-digest-2a38ac8c"}