{"uid":"cap_22oUDDsvKILCei__P9ZXO","slug":"sha-1-hex-digest-700f8bc5","name":"SHA-1 Hex Digest","description":"Call when an agent needs a sha1 digest of text, encoded as hex. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/digest-sha1-hex first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha1-hex?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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EFZXsPvNPTCnidxNkOHLG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the SHA-1 hash of a given text string and returns it as a lowercase hexadecimal digest","exampleAgentPrompt":"Compute the SHA-1 hash of the text 'Hello, world!' and give me the result as a hex string.","exampleUseCases":[{"title":"Deduplication fingerprinting for content pipeline","prompt":"I need to deduplicate articles before storing them — can you compute the SHA-1 hex digest of this article body so I can use it as a unique fingerprint?"},{"title":"Cache key generation from request payload","prompt":"Generate a SHA-1 hex hash of this JSON string so I can use it as a cache key: '{\"userId\":42,\"action\":\"export\"}'."},{"title":"Legacy system compatibility checksum","prompt":"Our legacy system expects SHA-1 hex checksums for file contents. Can you compute the SHA-1 hex digest of this text block I'm about to paste?"}],"resultDescription":"Returns the SHA-1 hash of the input text encoded as a lowercase hexadecimal string (40 characters). The response is deterministic — the same input always yields the same digest. No network calls or LLM inference are involved in the computation.","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Missing or invalid API key causes authentication failure","Payment failure (insufficient USDC balance) results in 402 response","Malformed request body returns 400 error"],"whenToPreferThis":"Choose this endpoint when you need a SHA-1 hex digest specifically — for example, for legacy system compatibility, Git object IDs, or HTTP ETags that require SHA-1 format. If SHA-2 (SHA-256) or BLAKE2 suffices, prefer those stronger alternatives. Use this over running local code when the agent environment lacks execution capability or when a deterministic, auditable third-party hash is needed. Try the free sandbox endpoint POST /v1/sandbox/digest-sha1-hex first to avoid the $0.005 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:31:03.400Z","isFirstParty":false,"canonicalSlug":"sha-1-hex-digest-700f8bc5"}