Hash / HMAC
hashGenerate secure cryptographic hashes using multiple algorithms (SHA-256, MD5, etc.), optional HMAC, and hex/base64 output.
Instructions
FREE. Compute a cryptographic digest: sha256, sha512, sha384, sha1, md5, sha3-256, keccak256, ripemd160. Optional HMAC via hmac_key. Output hex (default), base64, or base64url. keccak256 also returns a 0x-form (handy for Ethereum). Args: algorithm, text (+ input_encoding utf8|hex|base64, output_encoding, hmac_key).
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": {
"algorithm": "<algorithm>",
"text": "<text>"
},
"name": "hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input to hash. | |
| hmac_key | No | If set, compute HMAC with this key (not for keccak256/sha3-256). | |
| algorithm | Yes | sha256 | sha512 | sha384 | sha1 | md5 | sha3-256 | keccak256 | ripemd160 | |
| input_encoding | No | How `text` is encoded: utf8 (default) | hex | base64 | base64url. | |
| output_encoding | No | Digest encoding: hex (default) | base64 | base64url. |