# BLAKE2s-256 / Base64URL / Latin-1 Digest

> BLAKE2s-256 / Base64URL / Latin-1 Digest 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-02).

Computes a keyed BLAKE2s-256 hash of Latin-1 encoded text and returns the digest as a Base64URL string

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-blake2s256-base64url-latin1?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blake2s-256-base64url-latin-1-digest-524e1fbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dtsN9fcHVyyrxUGcvZUDb

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-base64url-latin-1-digest-524e1fbd -d '<json body>'
```

Example prompt: Can you compute a BLAKE2s-256 hash of the Latin-1 text "Hello, world!" using the key "mysecretkey" and give me the result as a Base64URL string?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, keyed cryptographic digest of Latin-1 text specifically using the BLAKE2s-256 algorithm with Base64URL output encoding — common for legacy system integrations, compact MAC generation, or deduplication of Latin-1 encoded content. Prefer the free sandbox endpoint /v1/sandbox/digest-blake2s256-base64url-latin1 for testing before paying.

## Known failure modes

- Text or key exceeds maximum length limits (100,000 chars for text, 512 chars for key)
- Text contains characters outside the Latin-1 range (code points > 255)
- Missing required fields (key or text) result in a 4xx error
- Non-Latin-1 encodings silently produce unexpected hashes if input is misinterpreted

## How this service works

Call when an agent needs a blake2s256 digest of latin1 bytes, encoded as base64url. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/digest-blake2s256-base64url-latin1 first.

## Output

A JSON response containing the Base64URL-encoded BLAKE2s-256 digest of the provided Latin-1 text hashed with the given key.

## 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-base64url-latin-1-digest-524e1fbd/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)
