cyberchef_xor
Decode or encode data using bitwise XOR with a repeating key for malware analysis, obfuscation, and CTF challenges. Applying XOR twice restores original plaintext.
Instructions
Applies a bitwise XOR cipher using a repeating key against the input string. Frequently used in malware analysis, shellcode obfuscation, and CTF challenges. Applying XOR twice with the same key restores the original plaintext.
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 | Optional format of the key string. Allowed values: 'UTF8' (default, ASCII/UTF-8 string key) or 'Hex' (hexadecimal byte key, e.g. '5a' or 'deadbeef'). |