Introduction
Cadenus is a columnar transposition with a rotation step bolted on. The message is written into 25-row columns under a keyword, each column is rotated by an amount derived from its key letter, and the ciphertext is read off by rows. The rotation breaks the simple column structure that makes plain columnar transposition easy to crack. This tool encrypts and decrypts Cadenus in your browser. Enter a keyword, paste your text, and the output appears instantly. No data leaves your device.
What this tool does
- Encrypts by writing the message into 25-row columns under a keyword, rotating each column, and reading by rows.
- Decrypts by reversing the rotation and column order to recover the original text.
- Pads the message to 25 times the keyword length (the Cadenus block size) and strips padding on decrypt.
- Uses the 25-letter row alphabet with V and W sharing a cell, matching the ACA convention.
- Reports a clear error if the message exceeds the key's capacity.
How this tool works
The tool takes your keyword and computes the number of columns from its length. The message is padded to 25 times that length (the block size) and written into the grid column by column, so each column holds 25 letters. The columns are sorted into alphabetical key order. Each column is then rotated upward by an amount equal to the position of its key letter in a 25-letter alphabet (A is 0, V and W share position 21, Z is 24). The ciphertext is read off row by row across the sorted, rotated columns.
Decryption reverses this. The ciphertext is written into the grid by rows in sorted key order. Each column is rotated back down by its key letter's position. The columns are restored to their original key order and read off column by column. Trailing padding is stripped. All processing happens client-side.
How the Cadenus cipher works
Cadenus is described by the American Cryptogram Association as a columnar transposition that also shifts the starting point of each column. The name comes from a transposition cipher attributed to the Marquis of Woronzeff. The defining constraint is that the message length must be a multiple of 25, because each column has exactly 25 rows labelled with a 25-letter alphabet in which V and W share a cell.
The rotation amount for a column is the index of its key letter in that 25-letter alphabet. If the key letter is E (index 4), the column is rotated up by 4 so that the row labelled E moves to the top. This means the keyword does double duty: it sets the column readout order and the per-column rotation, which makes the cipher noticeably harder to break than plain columnar transposition.
Helen Fouché Gaines covers Cadenus in *Elementary Cryptanalysis* (1939). The ACA recommends key lengths no greater than 6, because the factorial key space and the 24 possible rotations per column make brute force expensive even by hand. For the non-rotating version, see the columnar transposition tool. For another rotated-grid cipher, see the route cipher tool.
How to use this tool
- Type or paste your plaintext into the input field.
- Enter a keyword. The message is padded to 25 times the keyword length.
- Keep the mode on Encrypt to produce ciphertext, or switch to Decrypt and paste ciphertext to recover the text.
- If the message is longer than the key's capacity, the tool reports the maximum length for that keyword.
- Use Swap to feed the output back as input and flip the mode in one click.
Real-world examples
Encrypting a 125-letter block
A puzzle setter has a 125-letter plaintext and picks the keyword EASY (4 columns, capacity 100). The message is too long, so they switch to the keyword CIPHER (6 columns, capacity 150). The tool pads the message to 150 letters, writes it into six 25-row columns, rotates each column by its key letter index, and reads off the ciphertext by rows.
Recovering text with the wrong keyword
A solver has a Cadenus ciphertext and tries the keyword KEY. The output is garbage because the column order and rotations are wrong. They try EASY and the first rows become readable, confirming the keyword. The tool's instant feedback lets them test keywords quickly without doing the 25-row rotation by hand.
Understanding the 25-letter alphabet
A student wonders why the keyword VIOLET produces a rotation of 21 for the V column. The tool uses the 25-letter alphabet where V and W share index 21, so both rotate by 21. This is the ACA convention that keeps the grid at 25 rows, and the tool applies it automatically.
Comparison with similar methods
| Method | Complexity | Typical use |
|---|---|---|
| Columnar transposition | Columns read in key order | Standard ACA transposition |
| Cadenus | Columns rotated by key letter | Rotated 25-row transposition |
| Amsco | Alternating 1-2 cells | Irregular column lengths |
| Nihilist transposition | Double transposition on a square | Row and column reordering |
Limitations or considerations
Cadenus is a historical hand cipher with no modern security value. Its main constraint is the rigid block size: the message must be a multiple of 25, which forces padding and limits flexibility. The key length is effectively capped at 6 by the ACA because longer keys make the cipher unwieldy without adding much security. With a key of length 6 there are 6 factorial column orders and 24 rotations per column, which is searchable by computer. Use this tool for education, puzzles, and historical study only.
Frequently asked questions
Why must the message be a multiple of 25 letters?
Each column has exactly 25 rows, one per letter of the 25-letter alphabet (with V and W sharing a cell). The block size is 25 times the keyword length. The tool pads the message to that size and strips the padding on decrypt.
Why do V and W share a cell?
The 25-row grid needs 25 row labels. The English alphabet has 26 letters, so one pair is combined. The ACA convention for Cadenus combines V and W at index 21. This keeps the rotation arithmetic consistent across all columns.
How is Cadenus different from plain columnar transposition?
Plain columnar transposition only reorders columns by the keyword. Cadenus also rotates each column by its key letter's position, so the starting point of each column shifts. This rotation step is what makes Cadenus harder to crack.
What is the maximum key length for Cadenus?
The ACA recommends key lengths up to 6. Longer keys increase the block size (25 per column) and the search space, making the cipher unwieldy by hand. The tool accepts any keyword length, but very long keywords require very long messages to fill the block.
Conclusion
Cadenus layers a per-column rotation on top of columnar transposition, using one keyword for both the column order and the rotation amounts. Enter a keyword and a message above to see the 25-row rotation in action. For the non-rotating version, try the columnar transposition tool, and for another grid-based transposition, see the route cipher tool.