80trust / 100

Digest Header Verify

by Digest Header Verify in Security & trust

x402 APIPassing, checked 3 h ago

Digest Header Verify: verifies a sha-256 Digest value against caller-supplied text bytes using only bounded caller-supplied values. Call when you need a bounded digest header verify result before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Digest Header Verify as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base or Solana. First-party, stateless, me…

POST https://api.delx.ai/api/v1/x402/digest-header-verify

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.delx.ai/api/v1/x402/digest-header-verify" \
  -H "content-type: application/json" \
  -d '{"algorithm":"sha-256","digest_base64":"ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=","text":"abc"}'
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%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fdigest-header-verify
const res = await pay("https://api.delx.ai/api/v1/x402/digest-header-verify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"algorithm":"sha-256","digest_base64":"ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=","text":"abc"}),
});
console.log(await res.json());

Example input

{
  "algorithm": "sha-256",
  "digest_base64": "ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=",
  "text": "abc"
}

Example output

{
  "evidence": {
    "external_calls": 0,
    "input_sha256": "e2887c004f75ecae89be72af3d1ed97e6058d581b75c207eebceba1ccc080397",
    "retained": false
  },
  "operation": "web_reliability:digest_header_verify",
  "result": {
    "actual_base64": "ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=",
    "algorithm": "sha-256",
    "matched": true
  },
  "schema": "delx/util-digest-header-verify/v1",
  "status": "pass"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402108 ms$0.001
7 h agoPassed4026 ms$0.001
10 h agoPassed4025 ms$0.001
14 h agoPassed40227 ms$0.001
18 h agoPassed4024 ms$0.001
20 h agoPassed4026 ms$0.001
26 h agoPassed4023 ms$0.001