xor_cipher
Encrypt or decrypt text with XOR cipher using a provided key. Optionally treat input as hex for binary data processing.
Instructions
XOR encrypt/decrypt text with a key.
Args: text: Text or hex string to process key: XOR key input_hex: If True, treat input as hex string
Returns: JSON with XOR result in multiple formats
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| key | Yes | ||
| input_hex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |