Skip to content
Fourohtwo

Hashes of a text or base64 input (up to 1 MB)

api.sitecheck-api.workers.dev/api/hash

Hashes of a text or base64 input (up to 1 MB): MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32, and HMAC-SHA-256 or HMAC-SHA-512 when a key is given. Hex and base64 output. MD5 and CRC-32 are implemented here and checked against RFC 1321 and the standard CRC test vector. Body { input, encoding, algorithms, key }. Pure code and WebCrypto, no outside request.

BaseSolanaArcPolygonArbitrumWorld Chain+1Unchecked
POSThttps://api.sitecheck-api.workers.dev/api/hash

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.sitecheck-api.workers.dev/api/hash", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"algorithms":"md5,sha256,crc32","input":"abc"}),
});
console.log(await res.json());

Example input

{
  "algorithms": "md5,sha256,crc32",
  "input": "abc"
}

More from SiteCheck