Automated Cryptanalysis for Transposition Ciphers
The Columnar Transposition Analyzer is an advanced cryptanalysis tool designed to break columnar transposition ciphers through automated testing and English language scoring. Unlike substitution ciphers that replace letters, transposition ciphers rearrange them, making them resistant to frequency analysis but vulnerable to systematic rearrangement testing.
This tool tests multiple column widths (2-20 columns) and automatically scores results based on common English patterns like letter frequencies, bigrams (letter pairs), and trigrams (three-letter sequences). The best candidates are displayed ranked by their "Englishness" score.
In a columnar transposition cipher, the plaintext is written into a grid row by row, then read out column by column. The order of columns can be based on a numeric sequence or a keyword.
Plaintext: ATTACKATDAWN Write in rows (5 columns): A T T A C K A T D A W N Read by columns: Column 1: A K W β AKW Column 2: T A N β TAN Column 3: T T β TT Column 4: A D β AD Column 5: C A β CA Ciphertext: AKWTANTTADCA
This analyzer uses several techniques to identify the correct column count:
Paste the encrypted text into the input area. The tool automatically strips spaces and non-letter characters.
Set the minimum and maximum column counts to test. For most ciphers, 2-15 columns is sufficient.
Click "Analyze Cipher" and wait while the tool tests each column count and scores the results.
Examine the highest-scoring results. The correct decryption should read as coherent English text.
Copy the plaintext from the result that makes the most sense. If none look right, adjust settings and retry.
Press F12 to open browser console, then try these commands:
analyze([ciphertext], [minCols], [maxCols]) - Analyze specific texthelp() - Show available commandssample() - Load sample ciphertextclearResults() - Clear analysis results