Tool detail
Hash
Computes a cryptographic hash (sha256, sha512, sha1 or md5) of a text string, returned as hex and base64.
Categories: Utilities
Use when
- get a sha256 fingerprint of a text string
- create a deterministic content id for a string of text
- verify data integrity with a checksum
Not for
- not for hashing files or binaries — text input only, max 100KB
- not a general cryptography library — hashing only
Inputs
POST JSON body: { text: string (required, max 100KB), algo: sha256|sha512|sha1|md5 (optional, default sha256) }
Admitted input schema
{
"type": "object",
"properties": {
"algo": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "sha256 | sha512 | sha1 | md5"
},
"text": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Text to hash (max 100KB)"
}
},
"required": [
"text"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://agent402.tools/api/hash
Payment
- Protocol
- x402
- Listed price
- 0.001 USDC per call on Base (also payable free via proof-of-work)
- 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
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://agent402.tools/api/hash
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z