# SHAKE256 Digest to Base64

> SHAKE256 Digest to Base64 is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-01).

Computes a SHAKE256 (extendable-output hash) digest of input text and returns it encoded as base64

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-shake256-base64?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shake256-digest-to-base64-164a63b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7jZ2gm_szC-V1gaKVcsaQ

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 shake256-digest-to-base64-164a63b1 -d '<json body>'
```

Example prompt: Can you hash the text 'Hello, World!' using SHAKE256 and give me the result as a base64 string?

## When to prefer this

Use this endpoint when you specifically need a SHAKE256 (extendable-output function) digest encoded as base64. Prefer this over SHA-256 or SHA-3 variants when SHAKE256's variable-length XOF properties are required, or when interoperating with systems that expect base64 encoding specifically. Use the free sandbox endpoint (/v1/sandbox/digest-shake256-base64) for testing before paying the $0.006 USDC fee.

## Known failure modes

- Missing or empty 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Missing or empty 'key' field may return an error if required
- Payment of exactly $0.006 USDC must be provided; insufficient funds result in a 402 response
- Malformed request body returns a 400-level error

## How this service works

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

## Output

A base64-encoded string representing the SHAKE256 (XOF) digest of the provided input text, computed locally without any network calls or LLM inference.

## 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/shake256-digest-to-base64-164a63b1/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)
