{"uid":"cap_aKS-Mp9f_DyRXbe3cCYui","slug":"text-hashing-utility-sha256-sha512-sha1-md5-08443e03","name":"Text Hashing Utility (SHA256/SHA512/SHA1/MD5)","description":"Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.","url":"https://built-with-productos-xszv.vercel.app/v1/hash?utm_source=zero.xyz","method":"POST","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"algorithm":{"enum":["sha256","sha512","sha1","md5"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hex":"2cf24dba5fb0a30e...","bytes":5,"base64":"LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ=","algorithm":"sha256"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qq24lQVdFXDdR1fnpfryF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a cryptographic hash of a given text string using a specified algorithm (SHA256, SHA512, SHA1, or MD5) and returns hex, base64, and byte-length representations.","exampleAgentPrompt":"Hash the text 'hello world' using SHA256 and give me the hex digest and base64 output.","exampleUseCases":[{"title":"Integrity check for message content","prompt":"Compute the SHA256 hash of this message text so I can verify it hasn't been tampered with: 'Order confirmed: 3 units of product #4821 at $29.99 each.'"},{"title":"Generate deterministic ID from string","prompt":"I need a short, consistent fingerprint for the string 'user:alice@example.com:2024' — can you MD5 hash it and give me the hex output?"},{"title":"Verify password hash match","prompt":"Hash the string 'MySecretP@ssw0rd!' using SHA512 so I can compare it against the stored hash in my database."}],"resultDescription":"Returns a JSON object containing the hex-encoded digest, base64-encoded digest, the byte length of the input, and the algorithm used (e.g. sha256). All four fields are always present in the response.","failureModes":["Missing 'text' query parameter returns a validation error","Unsupported algorithm value (not sha256/sha512/sha1/md5) returns a 400 or enum validation error","Empty string input may return a valid hash of empty content rather than an error","Payment failure via x402/MPP results in 402 Payment Required before computation","Using wrong HTTP method (POST vs GET/HEAD/DELETE as specified) may result in 405 Method Not Allowed"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic cryptographic hash of a text string without managing API keys or complex auth — just pay per call via x402 or MPP. Ideal for AI agents needing on-the-fly hashing for integrity checks, fingerprinting, or deterministic ID generation. Prefer it when you need multiple output formats (hex + base64) in a single call and want to choose from sha256, sha512, sha1, or md5.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:35:39.165Z","isFirstParty":false,"canonicalSlug":"text-hashing-utility-sha256-sha512-sha1-md5-08443e03"}