gen_hash
Hash strings using MD5, SHA1, SHA256, or SHA512 algorithms with hex or base64 encoding for data security and verification.
Instructions
Hash a string using MD5, SHA1, SHA256, or SHA512. Output in hex or base64.
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": "gen_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | String to hash | |
| algorithm | No | Hash algorithm (default: sha256) | |
| encoding | No | Output encoding |