# SHA-384 Digest as Base64URL (Latin-1 Input)

> SHA-384 Digest as Base64URL (Latin-1 Input) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-02).

Computes a SHA-384 hash of Latin-1 encoded bytes from input text and returns the digest encoded as base64url.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha384-base64url-latin1?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-384-digest-as-base64url-latin-1-input-a4a0a952
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0-MJ7JX4Mq9MRlizzHEVa

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 sha-384-digest-as-base64url-latin-1-input-a4a0a952 -d '<json body>'
```

Example prompt: Can you compute the SHA-384 hash of the text 'Hello, world!' treating it as Latin-1 bytes and give me the result encoded as base64url?

## When to prefer this

Choose this endpoint when you specifically need a SHA-384 hash of Latin-1 (ISO-8859-1) encoded text returned in base64url format — particularly useful for Content Security Policy (CSP) integrity attributes, URL-safe tokens, or legacy system interoperability where Latin-1 encoding is required. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha384-base64url-latin1) for testing before incurring the $0.004 USDC charge.

## Known failure modes

- Input text contains characters outside the Latin-1 range (U+0000–U+00FF), causing encoding errors
- Text or key exceeds maximum length (100,000 or 512 characters respectively), returning a validation error
- Empty string provided for required 'text' field, rejected by minLength:1 constraint
- Payment of $0.004 USDC not provided or rejected, resulting in HTTP 402
- Network timeout or service unavailability returning a 5xx error

## How this service works

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

## Output

Returns a SHA-384 cryptographic digest of the input text (interpreted as Latin-1 bytes), encoded in base64url format (URL-safe base64 without padding). The response is a compact string suitable for use in URLs, headers, or integrity checks.

## 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/sha-384-digest-as-base64url-latin-1-input-a4a0a952/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)
