{
  "format": "delx/intent-card/v1",
  "id": "hmac-sha256-hex-api",
  "intent": "HMAC SHA256 Hex for an agent workflow",
  "title": "HMAC SHA256 Hex API for agents",
  "description": "HMAC-SHA256 hex of text with a secret. Call when you sign agent webhook test payloads offline. Returns hex digest for $0.001 USDC via x402 on Base. Local HMAC only—caller supplies secret; not stored. No network, no retention. Results are advisory; the caller owns budgets, auth, and production controls.",
  "keywords": [
    "HMAC SHA256 Hex API",
    "HMAC SHA256 Hex for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/hmac-sha256-hex-api",
  "machine_url": "https://commerce.delx.ai/intents/hmac-sha256-hex-api.json",
  "recommendation": {
    "tool_name": "util_hmac_sha256_hex",
    "service_name": "Delx HMAC SHA256 Hex",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/hmac-sha256-hex",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "text": {
          "description": "Input field: text.",
          "type": "string"
        },
        "secret": {
          "description": "Input field: secret.",
          "type": "string"
        }
      },
      "required": [
        "text",
        "secret"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "text": "payload",
      "secret": "key"
    },
    "example_output": {
      "schema": "delx/util-hmac-sha256-hex/v1",
      "hex": "5d98b45c90a207fa998ce639fea6f02ecc8cc3f36fef81d694fb856b4d0a28ca",
      "algorithm": "hmac-sha256"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/hmac-sha256-hex -m POST -H 'x-delx-source: intent-card-hmac-sha256-hex-api' --max-amount 0.001 -b '{\"text\":\"payload\",\"secret\":\"key\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-hmac-sha256-hex-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/hmac-sha256-hex"
  }
}
