Util hash
util_hashUse 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 exact paid x402 request for your input (GET /util/hash, $0.001 per call), with the response schema and an example; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Comma list of sha256, sha1, sha384, sha512, md5 or all | sha256 |
| text | Yes | Input to hash | |
| encoding | No | How text is encoded | utf8 |