{"uid":"cap_G8vxdWdAzleIx8XV1UMih","slug":"ripemd-160-hash-of-text-or-raw-bytes-f679ef00","name":"RIPEMD-160 Hash of Text or Raw Bytes","description":"RIPEMD-160 digest of text or raw bytes — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/hash-ripemd160?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"hex":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"},"text":{"type":"string","maxLength":49152}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"hash-ripemd160","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f-Ifv3M7mEZ09jpnfOS8F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the RIPEMD-160 cryptographic digest of a given text string or raw hex-encoded bytes","exampleAgentPrompt":"Can you compute the RIPEMD-160 hash of the text 'Hello, Bitcoin!'?","exampleUseCases":[{"title":"Bitcoin public key hashing","prompt":"I need to hash this compressed public key hex for a Bitcoin address — run RIPEMD-160 on 0x0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"},{"title":"Data integrity fingerprinting","prompt":"Generate a RIPEMD-160 digest of the text 'invoice-2024-00123:user@example.com:$500' so I can use it as a tamper-evident fingerprint."},{"title":"Blockchain script hash verification","prompt":"What's the RIPEMD-160 hash of these raw bytes: 0x76a91489abcdefabbaabbaabbaabbaabbaabbaabbaabba88ac — I'm double-checking a Bitcoin locking script."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:55.288Z","isFirstParty":false,"canonicalSlug":"ripemd-160-hash-of-text-or-raw-bytes-f679ef00"}