crypto_xor
Attempts single-byte and multi-byte XOR key brute-force to decode ciphertext, scoring by printable character ratio and estimating key length via Index of Coincidence. Returns top 5 likely results.
Instructions
XOR key brute-force for single-byte and multi-byte keys. Tries all single-byte XOR keys (0x00-0xFF) and scores by printable character ratio. For multi-byte keys, uses Index of Coincidence to estimate key length. Returns top 5 most likely results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Hex-encoded or base64 ciphertext | |
| max_key_length | No | Maximum key length to try (default: 4) |