# RIPEMD-160 Hash of Text or Raw Bytes

> RIPEMD-160 Hash of Text or Raw Bytes 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 RIPEMD-160 cryptographic digest of a given text string or raw hex-encoded bytes

## Facts

- Endpoint: POST https://twin.unykorn.org/hash-ripemd160?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/ripemd-160-hash-of-text-or-raw-bytes-f679ef00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G8vxdWdAzleIx8XV1UMih

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 ripemd-160-hash-of-text-or-raw-bytes-f679ef00 -d '<json body>'
```

Example prompt: Can you compute the RIPEMD-160 hash of the text 'Hello, Bitcoin!'?

## When to prefer this

Choose this endpoint when you need the RIPEMD-160 hash specifically — particularly for Bitcoin-related workflows such as address derivation (hash160 = SHA-256 then RIPEMD-160), script hash computation, or any protocol that mandates RIPEMD-160 rather than SHA-256 or Keccak. It accepts both human-readable text and raw hex-encoded bytes, making it versatile for both message hashing and binary data hashing. Prefer it over general-purpose SHA-256 endpoints when the downstream system explicitly requires RIPEMD-160 output.

## Known failure modes

- Invalid hex format (not matching ^0x[0-9a-fA-F]*$) returns validation error
- Text exceeding 49152 characters returns payload-too-large error
- Missing both 'hex' and 'text' fields returns bad request
- Payment failure or insufficient USDC balance returns 402 error
- Malformed JSON body returns parse error

## How this service works

RIPEMD-160 digest of text or raw bytes — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok:true, the RIPEMD-160 digest result under 'type': 'hash-ripemd160', a payment receipt containing the transaction hash, USD amount charged, and a unique receipt ID, plus a generated_at ISO 8601 timestamp.

## 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-ripemd160",
  "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/ripemd-160-hash-of-text-or-raw-bytes-f679ef00/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)
