util_hash · Util hash
read-onlyUse when you need a checksum or digest of a string: sha256 (default), sha1, sha384, sha512 and md5 of text given as utf8, hex or base64 (up to 64 KB), hex digests, no external call. Returns the paid x402 request for your input (GET /util/hash, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. First call each day returns the data itself, free; later calls return the paid request.
Input schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 65536,
"description": "Input to hash"
},
"algo": {
"type": "string",
"default": "sha256",
"description": "Comma list of sha256, sha1, sha384, sha512, md5 or all"
},
"encoding": {
"type": "string",
"enum": [
"utf8",
"hex",
"base64"
],
"default": "utf8",
"description": "How text is encoded"
}
},
"required": [
"text"
]
}