# SHA-384 Hash Digest

> SHA-384 Hash Digest is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the SHA-384 cryptographic digest of either a UTF-8 text string or raw bytes provided as a hex-encoded value

## Facts

- Endpoint: POST https://twin.unykorn.org/hash-sha384?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-384-hash-digest-e23de94a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zLiRqGI_t9_6zmIlk1__K

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-hash-digest-e23de94a -d '<json body>'
```

Example prompt: Can you compute the SHA-384 hash of the text 'Hello, world!' for me?

## When to prefer this

Choose this endpoint when you need a pay-per-call, trustless SHA-384 hash via the x402 micropayment protocol without managing your own crypto infrastructure. Prefer it over SHA-256 endpoints when 384-bit digest strength is required (e.g. TLS certificate chains, NIST compliance). Useful for agents that need on-demand hashing within an automated blockchain or EVM workflow on the UnyKorn network.

## Known failure modes

- Input exceeds 49152 character limit for text — returns validation error
- Hex input does not match pattern ^0x[0-9a-fA-F]*$ — returns schema validation error
- Payment failure via x402 protocol — call not executed
- Neither 'text' nor 'hex' param provided — ambiguous or empty input error
- Network timeout on the UnyKorn operator node

## How this service works

SHA-384 digest of text or raw bytes — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok=true, the hash type ('hash-sha384'), the SHA-384 digest value, and a payment receipt including transaction hash, USD amount charged, and a unique receipt ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "hex": {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]*$"
    },
    "text": {
     "type": "string",
     "maxLength": 49152
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "hash-sha384",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.001,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-384-hash-digest-e23de94a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
