Hash & Checksum

Computes MD5, SHA-1, SHA-256, SHA-512, SHA3-256, BLAKE2b and CRC32 digests over text or base64 input, with optional expected-value comparison.

POST /v1/developer/hash-checksum $0.003 per call

Specification

Endpoint
POST /v1/developer/hash-checksum
Price
$0.003 per call · tier micro_data
Payment
x402 on X Layer (chain 196) · settled in USDG or USDT0 · schemes exact, aggr_deferred
Data source
Deterministic local computation on caller-supplied input
Timeout
15 seconds
Max request
2 MB
Version
1.0.0

Calling it

The first call returns a 402 with the payment challenge. Retry with a signed authorisation in the X-PAYMENT header — see the payment guide for the exact shape.

curl -i -X POST "https://api.dana-edu.pp.ua/v1/developer/hash-checksum" \
  -H "content-type: application/json" \
  -d '{ ... }'

Response

Real output, captured by running this endpoint at build time — not written by hand. Volatile fields such as timestamps are elided. Captured 2026-07-30.

{
  "input_bytes": 15,
  "mode": "digest",
  "digests": {
    "sha256": "074f67bd26cfbdd52d01c09c8fc72c76d1c2a9d5321bab0c9bb69da8715e2819",
    "crc32": "d40599c9"
  }
}

Every response is wrapped in the same envelope: data plus warnings, sources, confidence, informational_only and a measured processing_ms. See the envelope reference.

Related endpoints