{"uid":"cap_SH9p-SxBq_Se69P53BDKu","slug":"sha-1-base64-digest-30dc7374","name":"SHA-1 Base64 Digest","description":"Call when an agent needs a sha1 digest of text, encoded as base64. No network and no LLM. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/digest-sha1-base64 first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha1-base64?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":["hello"],"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.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x1F9mdWd4Q-kSFOWugCnu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","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 input text and returns it encoded as a base64 string, with no network or LLM involvement.","exampleAgentPrompt":"Can you compute the SHA-1 hash of the text 'Hello, world!' and give me the result as a base64 string?","exampleUseCases":[{"title":"Content fingerprinting for deduplication","prompt":"I need to fingerprint this document for deduplication — compute a SHA-1 base64 digest of this text: 'The quick brown fox jumps over the lazy dog'"},{"title":"Integrity check before storage","prompt":"Before I store this config string in the database, give me its SHA-1 hash encoded as base64 so I can use it as a checksum: 'db_host=localhost;db_port=5432;db_name=myapp'"},{"title":"Generate a cache key from content","prompt":"I want to use the SHA-1 base64 hash of 'user_id=42&query=best+restaurants&page=1' as a cache key — can you compute that for me?"}],"resultDescription":"A JSON response containing the base64-encoded SHA-1 digest of the provided input text. The result is a deterministic, fixed-length string derived purely from the input with no external calls.","failureModes":["Missing or empty 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Missing or invalid API key results in authentication failure","Payment failure (insufficient USDC balance) blocks the request"],"whenToPreferThis":"Prefer this endpoint when you need a fast, deterministic SHA-1 digest returned as base64 and do not want to execute arbitrary code or spin up a runtime environment. Ideal for agents that need cryptographic fingerprints without access to local hashing libraries. Use the free sandbox endpoint (POST /v1/sandbox/digest-sha1-base64) for testing before paying $0.006 USDC per call here.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:53.538Z","isFirstParty":false,"canonicalSlug":"sha-1-base64-digest-30dc7374"}