{"uid":"cap_F-Np2CaX4k78zd76kY0sc","slug":"agent402-uk-hash-digest-9ce7e528","name":"Agent402 UK Hash Digest","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/utils/hash","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"UTF-8 text to hash"},"algorithm":{"type":"string","description":"sha256 | sha1 | md5 | sha512 (default sha256)"}}},"responseSchema":{"type":"json","example":{"hex":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824","bytes":5,"algorithm":"sha256"}},"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_hpBloTH6pwvNtk-RIny1M","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 SHA-256, SHA-1, MD5, or SHA-512 hex digests of arbitrary UTF-8 text strings","exampleAgentPrompt":"Can you compute the SHA-256 hex digest of the string 'Hello, World!'?","exampleUseCases":[{"title":"Integrity check before data write","prompt":"Before I store this config blob, hash it with SHA-256 so I can compare it later and confirm nothing changed: 'host=db.prod.internal;port=5432;user=admin'"},{"title":"Legacy MD5 fingerprint for API compatibility","prompt":"I need an MD5 hash of the string 'user:secret123' — the old system I'm integrating with expects MD5 fingerprints for its request signing."},{"title":"Mid-task deduplication check","prompt":"Hash these two strings with SHA-512 and tell me if they produce the same digest — I want to know if 'invoice_2024_v1' and 'invoice_2024_v1' are identical before processing them."}],"resultDescription":"Returns a hex-encoded digest string corresponding to the chosen algorithm (sha256, sha1, md5, or sha512) applied to the provided UTF-8 input text.","failureModes":["Unsupported algorithm value returns an error — must be sha256, sha1, md5, or sha512","Empty or missing text field may return a validation error","Very large text inputs may time out or be rejected","Non-UTF-8 encoded binary content may produce incorrect results"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, on-demand cryptographic hash during a task — especially for integrity checks, deduplication, or fingerprinting text values — without needing a local hashing library. Particularly useful in agentic pipelines where the agent runtime lacks native crypto utilities or where consistent, auditable hashing via an external service is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:33.629Z","isFirstParty":false}