cyberchef_xor
Applies bitwise XOR with a repeating key to encode or decode strings while preserving raw binary bytes; running it twice with the same key restores the original plaintext.
Instructions
Applies a bitwise XOR cipher using a repeating key against the input string. Preserves raw binary bytes without UTF-8 corruption. Running XOR twice with the same key restores original plaintext.
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>",
"key": "<key>"
},
"name": "cyberchef_xor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The secret key used for XOR operations. Can be a text string or hex bytes. | |
| input | Yes | The ciphertext or plaintext string to process with bitwise XOR. | |
| keyFormat | No | Format of the key string: 'UTF8' (default) or 'Hex'. |