Generate MD5, SHA and CRC-32 hashes of text
hashHashes of a text or base64 input (up to 1 MB): MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32, and HMAC-SHA-256 or HMAC-SHA-512 when a key is given. Hex and base64 output. MD5 and CRC-32 are implemented here and checked against RFC 1321 and the standard CRC test vector. Body { input, encoding, algorithms, key }. Pure code and WebCrypto, no outside request. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key for the HMAC algorithms, up to 1024 characters (JSON body field) | |
| input | Yes | The text, or base64 when encoding is base64 (JSON body field) | |
| encoding | No | text (default) or base64 | |
| algorithms | No | Comma-separated: md5, sha1, sha256, sha384, sha512, crc32, hmac-sha256, hmac-sha512 (default: all but the HMACs) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | No | ||
| source | No | ||
| results | No | ||
| checkedAt | No |