{"uid":"cap_2Csb1NqgUQd4H75_F3dVY","slug":"agent-data-tools-text-hashing-sha256-sha1-sha384-sha512-b82c159a","name":"Agent Data Tools: Text Hashing (SHA256/SHA1/SHA384/SHA512)","description":"Hash UTF-8 text with SHA-256 (default), SHA-1, SHA-384 or SHA-512 and return the digest in hex and base64. Use for checksums, cache keys and deduplication.","url":"https://agent-data-tools.revmesh2074.workers.dev/hash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"The text to hash"},"algorithm":{"type":"string","description":"sha256 (default), sha1, sha384 or sha512"}}},"responseSchema":{"type":"object","properties":{"hex":{"type":"string"},"base64":{"type":"string"},"algorithm":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gSrkHp7WL3Ns43n0kVE0V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hashes an input text string using a specified algorithm (SHA256, SHA1, SHA384, or SHA512) and returns the hex and base64 encoded digest","exampleAgentPrompt":"Can you compute the SHA256 hash of the text 'hello world' and give me both the hex and base64 versions?","exampleUseCases":[{"title":"Verify file content integrity","prompt":"Hash the string 'invoice-2024-Q1-final' using SHA256 so I can use the hex digest as a content fingerprint for deduplication."},{"title":"Generate deterministic identifier","prompt":"I need a SHA512 hash of the text 'user:alice@example.com:2024-01-01' — give me both the hex and base64 encodings."},{"title":"Checksum for audit log","prompt":"Compute a SHA1 hash of this log entry text: 'Payment processed: $500 at 2024-06-15T10:30:00Z' so I can store it as a tamper-evident checksum."}],"resultDescription":"Returns a JSON object with three fields: 'hex' (the lowercase hexadecimal digest of the input text), 'base64' (the base64-encoded digest), and 'algorithm' (the algorithm used, e.g. 'sha256'). The response confirms which algorithm was applied alongside both standard encodings of the hash.","failureModes":["Missing 'text' query parameter returns an error — text is required","Unsupported algorithm value (not sha256, sha1, sha384, sha512) may return an error or default to sha256","Empty string input is accepted but may return a well-known fixed hash","Network timeout from Cloudflare Worker is possible but rare; failed calls are not charged"],"whenToPreferThis":"Use this endpoint when you need a quick, stateless cryptographic hash of a text string without setting up a local library or environment. Ideal for AI agents operating in environments without native crypto access (e.g. sandboxed runtimes), or when you need a pay-per-use utility with no API key. Supports SHA1, SHA256, SHA384, and SHA512 with both hex and base64 output in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:15:13.161Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-text-hashing-sha256-sha1-sha384-sha512-b82c159a"}