---
title: "Generate SHA-2, SHA-3, MD5 or xxh128 hashes"
method: GET
path: "/api/util/hash"
tags: ["x402"]
---

# Generate SHA-2, SHA-3, MD5 or xxh128 hashes

`GET /api/util/hash`

## Request

- Base URL: `https://yruz.one`
- URL: `https://yruz.one/api/util/hash`
- Auth: none required

Hash text: sha256, sha512, sha384, sha1, md5, sha3-256, sha3-512, crc32b, xxh128 (or all at once). No account or API key. Without PAYMENT-SIGNATURE the response is HTTP 402 with an x402 v2 payment challenge; pay and resend the identical request. Input as query string (GET) or JSON body (POST), max 64 KB; the payment is bound to the exact input. Price: 0.002 USDC per call.

## Query parameters

- `text` string
- `algo` string

## Headers

- `PAYMENT-SIGNATURE` string

## Response `200`

Tool result

- object
  - `tool` string
  - `result` object

## Other responses

- `400`: Invalid input
- `402`: Payment Required
- `413`: Input over 64 KB

---

[API](https://skmtc.dev/yruz/apis/yruz-api.md) · [All operations](https://skmtc.dev/yruz/apis/yruz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yruz/apis/yruz-api/revisions/17883cb21a4a?raw)
