{"uid":"cap_JFGaeAZSY3MxGyMPDGkkg","slug":"sha1-digest-of-hex-bytes-encoded-as-base64-fe70b57c","name":"SHA1 Digest of Hex Bytes Encoded as Base64","description":"Call when an agent needs a sha1 digest of hex bytes, encoded as base64. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/digest-sha1-base64-rawhex first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha1-base64-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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EhVs9hPjT7s9fMDGl_g3k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","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 base64.","exampleAgentPrompt":"Can you compute the SHA-1 digest of these hex bytes — 'deadbeef0102030405' — and give me the result encoded as base64?","exampleUseCases":[{"title":"Integrity check of binary payload","prompt":"I have a raw binary payload represented as hex bytes: 'cafebabe0d0a1234'. Can you compute the SHA-1 hash of those bytes and give it to me as a base64 string so I can compare it against a stored checksum?"},{"title":"Signing pipeline pre-processing step","prompt":"Before I pass data to the next step in my pipeline, I need to sha1-hash this hex-encoded chunk '48656c6c6f576f726c64' and get the result in base64 — can you do that?"},{"title":"Fingerprinting hex-encoded certificate data","prompt":"I have a certificate's raw bytes as hex: '3082025e30820...' — compute the SHA-1 fingerprint of those bytes and return it as base64 so I can display it to the user."}],"resultDescription":"Returns a base64-encoded string representing the SHA-1 digest computed over the raw bytes described by the input hex string. No network calls or LLM inference are involved — it is a pure deterministic cryptographic computation.","failureModes":["Invalid hex string input (odd length or non-hex characters) — expect a 4xx error","Input text exceeds 100,000 character limit — request rejected","Missing or empty text field — validation error","Payment not provided or insufficient USDC — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you specifically need a SHA-1 hash of raw bytes represented as a hex string, with the output in base64 format. Use the free sandbox POST /v1/sandbox/digest-sha1-base64-rawhex first to avoid charges during development. Prefer this paid endpoint only when the sandbox is unavailable or rate-limited. Do not use this for plain text SHA-1 hashing (use an endpoint that accepts raw text) or when SHA-256/Blake2 are acceptable alternatives.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:16.300Z","isFirstParty":false,"canonicalSlug":"sha1-digest-of-hex-bytes-encoded-as-base64-fe70b57c"}