{"uid":"cap_Gd71ZFjfyNSRrvA3CvbZw","slug":"hash-encode-4bdd366c","name":"Hash & Encode","description":"MD5, SHA-1, SHA-256, SHA-512, SHA3-256, Keccak-256, BLAKE2b and CRC32 of a text or hex/base64 bytes, plus base64 and hex encodings, in one call. Use for integrity checks, IDs, signatures and Ethereum selectors.","url":"https://bess-x402.onrender.com/v1/util/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Input text or bytes"},"encoding":{"type":"string","description":"utf8, hex or base64"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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_ROItGtmVxsTEwpyJZHJ71","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 MD5, SHA-1, SHA-256, SHA-512, SHA3-256, Keccak-256, BLAKE2b, and CRC32 hashes plus base64 and hex encodings of any text or binary input in a single call.","exampleAgentPrompt":"Can you compute the SHA-256 and Keccak-256 hashes of the UTF-8 text 'transfer(address,uint256)' — I need all the common hash digests plus the base64 and hex encodings in one shot.","exampleUseCases":[{"title":"Ethereum function selector generation","prompt":"What's the Keccak-256 hash of the UTF-8 string 'transfer(address,uint256)'? I need it to compute the 4-byte Ethereum function selector."},{"title":"Data integrity checksum for a file ID","prompt":"Give me the SHA-256 and MD5 hashes of the text 'invoice-2024-09-15-ACME' in UTF-8 — I'm using them as integrity fingerprints for a document ID system."},{"title":"Base64 and hex encoding of binary data","prompt":"I have some hex bytes '48656c6c6f20576f726c64' — can you decode them and give me all the standard hashes plus the base64 encoding?"}],"resultDescription":"Returns a JSON object containing all eight hash digests (MD5, SHA-1, SHA-256, SHA-512, SHA3-256, Keccak-256, BLAKE2b, CRC32) and both base64 and hex encodings of the input, all computed in a single response.","failureModes":["Missing 'text' query parameter returns a validation error","Invalid encoding value (not utf8, hex, or base64) returns a bad request error","Malformed hex or base64 input string causes a decoding error","Overly large input may result in a timeout or payload error"],"whenToPreferThis":"Choose this endpoint when you need multiple hash algorithms and encodings for the same input in a single call, especially for blockchain use cases (Keccak-256 for Ethereum selectors), integrity verification, or when you want to avoid making separate requests to different hashing utilities. It is particularly useful when both cryptographic hashes and encoding conversions are needed simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:15.673Z","isFirstParty":false,"canonicalSlug":"hash-encode-4bdd366c"}