# HMAC-SHA1 Hex Signer

> HMAC-SHA1 Hex Signer is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Computes an HMAC-SHA1 of a given text using a caller-supplied key and returns the result as a lowercase hex string.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/hmac-sha1-hex?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hmac-sha1-hex-signer-76c868ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LqlBlevLiqMF8Tljkz77A

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hmac-sha1-hex-signer-76c868ac -d '<json body>'
```

Example prompt: Compute an HMAC-SHA1 hex signature for the text 'order_id=9821&amount=49.99' using the secret key 'mysecretkey123'.

## When to prefer this

Use this endpoint when your agent needs a serverless, pay-per-call HMAC-SHA1 hex computation without running local crypto libraries — particularly in constrained or sandboxed environments. Prefer the free sandbox endpoint (/v1/sandbox/hmac-sha1-hex) for testing. Choose this paid endpoint for production use where reliability and uptime guarantees matter.

## Known failure modes

- Empty or missing key returns a validation error
- Empty or missing text returns a validation error
- Key exceeding 512 characters is rejected
- Text exceeding 100,000 characters is rejected
- Payment of exactly $0.002 USDC required; missing or insufficient payment returns 402

## How this service works

Call when an agent needs an HMAC-sha1 of text with a caller-supplied key, encoded as hex. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/hmac-sha1-hex first.

## Output

Returns a hex-encoded HMAC-SHA1 digest string computed from the provided text and key. The output is a 40-character lowercase hexadecimal string representing the 160-bit SHA1 HMAC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "examples": [
    "secret"
   ],
   "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hmac-sha1-hex-signer-76c868ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
