Skip to content
onelayer.
All tools

Tool detail

Agent Payload Tools

Computes a SHA-256, SHA-384, or SHA-512 hash of UTF-8 text for integrity checks, fingerprinting, or cache keys.

Categories: Utilities

Use when

  • compute a SHA-256 hash of a text string
  • generate a checksum to verify payload integrity

Not for

  • not for hashing binary files — text input only
  • not for HMAC signing — a separate hmac endpoint covers that

Inputs

POST JSON body, both optional: input (UTF-8 text, default empty); algorithm (SHA-256|SHA-384|SHA-512, default SHA-256)

Admitted input schema

{
  "type": "object",
  "properties": {
    "algorithm": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "SHA-256",
        "SHA-384",
        "SHA-512"
      ],
      "description": "Digest algorithm. Defaults to SHA-256."
    },
    "input": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "UTF-8 text to hash.",
      "default": ""
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.agent-payload-tools.workers.dev/hash

Payment

Protocol
x402
Listed price
0.001 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.agent-payload-tools.workers.dev/hash
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z