{"uid":"cap_e9uGfWE7wE960us45orG3","slug":"hash-openverbs-com-cryptographic-hash-1e36f6a8","name":"hash.openverbs.com Cryptographic Hash","description":"Compute a cryptographic digest (SHA-2, SHA-3, BLAKE2, and legacy SHA-1/MD5/RIPEMD-160) of some data. The input may be utf8/hex/base64/base64url and the digest is returned as hex/base64/base64url.","url":"https://hash.openverbs.com/v1/hash","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["data","algorithm"],"properties":{"data":{"type":"string","maxLength":5000000,"description":"The data to hash, in `inputEncoding`."},"algorithm":{"enum":["sha256","sha512","sha384","sha224","sha1","sha3-256","sha3-384","sha3-512","md5","ripemd160","blake2b512","blake2s256"],"type":"string","description":"Digest algorithm, one of sha256, sha512, sha384, sha224, sha1, sha3-256, sha3-384, sha3-512, md5, ripemd160, blake2b512, blake2s256."},"inputEncoding":{"enum":["utf8","hex","base64","base64url"],"type":"string","description":"How to interpret the text as bytes (utf8, hex, base64, base64url). Default utf8."},"outputEncoding":{"enum":["hex","base64","base64url"],"type":"string","description":"How to render the digest (hex, base64, base64url). Default hex."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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_EKfF9sX8m-OykaMHuDJRD","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":"Compute a cryptographic digest of arbitrary data using SHA-2, SHA-3, BLAKE2, or legacy algorithms (SHA-1, MD5, RIPEMD-160), with flexible input/output encodings.","exampleAgentPrompt":"Hash the UTF-8 string 'Hello, world!' using SHA-256 and give me the result as a hex digest.","exampleUseCases":[{"title":"File integrity fingerprinting","prompt":"Take this base64-encoded file content and compute a SHA-512 hash of it, returned as hex, so I can verify its integrity later."},{"title":"Content deduplication check","prompt":"Hash the string 'user@example.com:secretpassword' using MD5 with UTF-8 encoding and return it as hex — I need a quick fingerprint to check for duplicates."},{"title":"Blockchain-compatible RIPEMD-160 digest","prompt":"Compute a RIPEMD-160 hash of this hex-encoded public key data and return the result as base64url — I need it for a Bitcoin address derivation step."}],"resultDescription":"A JSON response containing the cryptographic digest of the input data, rendered in the requested output encoding (hex, base64, or base64url). The digest corresponds to the chosen algorithm applied to the decoded input bytes.","failureModes":["Invalid or unsupported algorithm name returns a 400 error","Input data exceeding 5,000,000 character limit is rejected","Malformed input encoding (e.g. invalid base64) causes a decoding error","Missing required 'data' or 'algorithm' fields returns a validation error","Payment not completed or insufficient USDC balance returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a reliable, multi-algorithm cryptographic hash computation accessible over HTTP with micropayment billing (x402). It supports a broad set of algorithms (SHA-2 family, SHA-3 family, BLAKE2, MD5, RIPEMD-160) and multiple encoding formats, making it ideal for agents that need hash computation without deploying local crypto libraries. Prefer it over HMAC sibling endpoints when you only need a plain digest without a secret key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:22.267Z","isFirstParty":false}