80trust / 100

Skills Sha256

by Grokzilla x402 Micro Pay in Other

x402 APIPassing, checked 2 h ago

Hash a string with SHA-256 and return hex plus a short prefix. Deterministic, no network.

POST https://grokzilla.shop/api/skills/sha256

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
176 ms typical, 176 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://grokzilla.shop/api/skills/sha256" \
  -H "content-type: application/json" \
  -d '{"encoding":"utf-8","text":"hello"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgrokzilla.shop%2Fapi%2Fskills%2Fsha256
const res = await pay("https://grokzilla.shop/api/skills/sha256", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"encoding":"utf-8","text":"hello"}),
});
console.log(await res.json());

Example input

{
  "encoding": "utf-8",
  "text": "hello"
}

Example output

{
  "algo": "sha256",
  "bytes": 5,
  "hex": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
  "hex_prefix": "2cf24dba5fb0a30e",
  "ok": true,
  "skill": "sha256"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402176 ms$0.003
5 h agoPassed402376 ms$0.003
10 h agoPassed402149 ms$0.003