{"uid":"cap_tg3JYwpKLnYadWByluugB","slug":"sha-1-digest-as-base64url-from-raw-hex-eac8daac","name":"SHA-1 Digest as Base64URL from Raw Hex","description":"Call when an agent needs a sha1 digest of hex bytes, encoded as base64url. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/digest-sha1-base64url-rawhex first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha1-base64url-rawhex?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","maxLength":512,"minLength":1,"description":"HMAC secret. Required on HMAC SKUs. Omit it for plain digests and checksums. The key is not stored."},"text":{"type":"string","examples":["68656c6c6f"],"maxLength":100000,"minLength":1,"description":"Message to digest. For raw-hex SKUs this is hex bytes; for utf16 or latin1 SKUs it is decoded with that encoding. Otherwise it is UTF-8 text."}}},"responseSchema":null,"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_yCps3sY6b7-cIaGvmDmi4","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 a SHA-1 hash of raw hex-encoded bytes and returns the digest encoded as base64url","exampleAgentPrompt":"Can you compute the SHA-1 hash of these raw hex bytes — 48656c6c6f — and give me the result as a base64url string?","exampleUseCases":[{"title":"Verify binary asset integrity","prompt":"I have a hex-encoded binary blob — deadbeef0102030405 — and I need to verify its SHA-1 fingerprint in base64url format to compare against a stored checksum. Can you hash it?"},{"title":"Generate SHA-1 token from hex seed","prompt":"Take this hex string 0a1b2c3d4e5f and compute a SHA-1 digest of it encoded in base64url — I'll use it as a short token in my pipeline."},{"title":"Checksum hex-encoded protocol frame","prompt":"I'm processing a network protocol frame stored as hex — c0ffee1234abcd — and need its SHA-1 base64url digest for logging purposes. Can you compute that?"}],"resultDescription":"Returns a SHA-1 digest of the provided raw hex bytes, encoded in base64url format (no padding characters, URL-safe alphabet). The response is a compact string suitable for embedding in URLs, tokens, or checksums.","failureModes":["Invalid hex input (odd-length string or non-hex characters) returns an error","Input text exceeding 100,000 characters is rejected","Missing required 'text' field causes a validation error","Payment failure (insufficient USDC balance) prevents execution","Malformed JSON body returns 400 error"],"whenToPreferThis":"Choose this endpoint when you specifically need a SHA-1 hash of raw hex-encoded bytes (not plain text) returned in base64url encoding. It is deterministic and has no external dependencies. Use the free sandbox equivalent (/v1/sandbox/digest-sha1-base64url-rawhex) first for testing; pay this $0.001 USDC endpoint only in production. Prefer it over building SHA-1 locally when operating in an agent environment without cryptographic libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:21.105Z","isFirstParty":false,"canonicalSlug":"sha-1-digest-as-base64url-from-raw-hex-eac8daac"}