{"uid":"cap_5sTeSGqKofgEdebbCQvmL","slug":"sha-1-hex-bytes-to-hex-digest-981b7538","name":"SHA-1 Hex-Bytes to Hex Digest","description":"Call when an agent needs a sha1 digest of hex bytes, encoded as hex. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/digest-sha1-hex-rawhex first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha1-hex-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.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_rx8v9yYnNbxrL6Y7j3ybP","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 a SHA-1 digest of raw bytes supplied as a hex string and returns the result encoded as a hexadecimal string","exampleAgentPrompt":"Compute the SHA-1 hash of these hex-encoded bytes — 'deadbeef0102030405' — and give me the result as a hex string.","exampleUseCases":[{"title":"Integrity check of binary payload","prompt":"I have a binary payload stored as hex — '4a6f686e446f65' — can you run SHA-1 on those raw bytes and return the hex digest so I can compare it against the checksum in the manifest?"},{"title":"SHA-1 fingerprint for certificate pinning","prompt":"Generate a SHA-1 hex digest for these raw bytes in hex: '308201aa300d0609' — I need the hex fingerprint to pin this certificate."},{"title":"Audit log hash for raw byte sequence","prompt":"Take this hex byte sequence '0a1b2c3d4e5f6071' and compute its SHA-1 hash as hex — I need to record it as a tamper-evident fingerprint in our audit log."}],"resultDescription":"Returns a SHA-1 digest of the input hex bytes, encoded as a lowercase hexadecimal string (40 characters). The endpoint performs no storage and is fully deterministic for a given input.","failureModes":["Invalid hex string input (odd-length or non-hex characters) — likely 400 Bad Request","Input text exceeds 100,000 character limit — rejected at schema validation","Missing required 'text' field — 400 Bad Request","Payment not provided or insufficient — 402 Payment Required","Service temporarily unavailable — 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a SHA-1 digest of raw binary data supplied as a hex string and want the result returned in hexadecimal format. Prefer the free sandbox version (/v1/sandbox/digest-sha1-hex-rawhex) for testing or when cost matters. Use this paid endpoint when the sandbox is unavailable, rate-limited, or when operating in production environments that require guaranteed SLA. Prefer SHA-256 or SHA-512 endpoints on the same platform when stronger cryptographic guarantees are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:01.056Z","isFirstParty":false,"canonicalSlug":"sha-1-hex-bytes-to-hex-digest-981b7538"}