brute_force_xor
Recover plaintext from hex-encoded XOR ciphertext by brute forcing single-byte or short keys up to length 4.
Instructions
Brute force XOR cipher with single-byte or short keys.
Args: ciphertext_hex: Hex-encoded ciphertext max_key_length: Maximum key length to try (1-4)
Returns: JSON with potential plaintexts
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": {
"ciphertext_hex": "<ciphertext_hex>"
},
"name": "brute_force_xor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ciphertext_hex | Yes | ||
| max_key_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |