xor_encode_decode
XOR encode or decode hex data using a specified hex key, with support for multi-byte keys applied cyclically. Returns hex output with ASCII preview.
Instructions
XOR encode/decode data with a specified key.
Args: hex_data: Hex-encoded data. hex_key: Hex-encoded key (supports multi-byte keys, applied cyclically).
Returns: XOR result as hex output with ASCII preview.
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": {
"hex_data": "<hex_data>",
"hex_key": "<hex_key>"
},
"name": "xor_encode_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_data | Yes | ||
| hex_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |