# BLAKE2s-256 Hex Digest

> BLAKE2s-256 Hex Digest is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-01).

Computes a BLAKE2s-256 cryptographic hash of input text and returns it as a lowercase hex-encoded string

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-blake2s256-hex?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blake2s-256-hex-digest-5b271d3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VqDUccfNaJmeM3hLbj1Pc

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 blake2s-256-hex-digest-5b271d3f -d '<json body>'
```

Example prompt: Compute the BLAKE2s-256 hash of the text 'Hello, world!' and give me the result as a hex string.

## When to prefer this

Choose this endpoint when you need a BLAKE2s-256 hash specifically encoded as hexadecimal, rather than base64 or base64url. Prefer this over SHA-family endpoints when BLAKE2s compatibility is required (e.g. for systems that use BLAKE2s for checksums or MACs). Use the free sandbox endpoint (/v1/sandbox/digest-blake2s256-hex) first to test; use this paid endpoint in production or when the sandbox is unavailable.

## Known failure modes

- Text or key exceeds maximum length (100,000 or 512 chars respectively) — returns validation error
- Missing or empty text field — returns 400-level error
- Payment not provided or insufficient USDC — returns 402 Payment Required

## How this service works

Call when an agent needs a blake2s256 digest of text, encoded as hex. No network and no LLM. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/digest-blake2s256-hex first.

## Output

A hex-encoded string representing the 32-byte (256-bit) BLAKE2s digest of the input text. If a key is provided, the result is a keyed BLAKE2s-256 MAC. The response is deterministic and has no external dependencies.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blake2s-256-hex-digest-5b271d3f/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)
