railfence_process
Encrypt or decrypt text using the rail fence (zigzag) cipher; specify the number of rails and toggle decryption mode to transform messages.
Instructions
Encrypt or decrypt text using the rail fence (zigzag) cipher.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to process. | |
| rails | No | Number of rails (default 3). | |
| decrypt | No | Decrypt instead of encrypt (default false). |