Home › Ciphers › Myszkowski Cipher

Myszkowski Cipher

Émile Victor Théodore Myszkowski, a retired French colonel, proposed this transposition in his Cryptographie Indéchiffrable of 1902 for the case plain columnar handles clumsily: keywords with repeated letters. Ordinary columnar breaks a tie arbitrarily and then empties each column in turn. Myszkowski changes the read-off itself: columns sharing a keyword letter are treated as one unit and read together, row by row across the group, so tied columns interleave instead of queuing — a genuinely different cipher from columnar-with-ties, whose entire personality is the repeated letters: hand it a keyword of all-distinct letters and it collapses back into plain columnar. Choose BALLOON or TOMATO and you are using it as intended.

In short

The Myszkowski cipher is a columnar transposition variant for keywords with repeated letters: the message fills a grid under the keyword, columns are grouped by their shared keyword letter, and each group is read row by row across its columns, groups in alphabetical order.

Myszkowski, Cryptographie Indéchiffrable, 1902. With a distinct-letter keyword it is exactly columnar transposition — the repeats are the cipher.

Encode or decode — pick a keyword with repeats

21 letters
Encoded · Myszkowski
ETAMTKETHETNARNMEPAOO

Everything runs in your browser — nothing is uploaded.

How it works

Group the tied columns, read across them

Write the message in rows under the keyword, exactly as in columnar transposition. Now group the columns by their keyword letter. Process the distinct letters in alphabetical order; for each group, read its columns jointly — the first row's letters from those columns, left to right, then the second row's, and so on — before moving to the next group. Under TOMATO the groups are A:{column 4}, M:{3}, O:{2 and 6, read interleaved row by row}, T:{1 and 5, likewise}. Decoding inverts precisely: column heights come from the length as usual, the same grouping regenerates the read-off positions, and the ciphertext is dealt back into them. Two consequences reward attention. The interleaved groups destroy the clean column boundaries an anagramming solver depends on — which is the system's historical selling point. And the degenerate case matters: a keyword without repeats, ZEBRA say, makes this columnar transposition wearing a French name.

Origin & history

A colonel's fix, 1902

Myszkowski published his system in 1902, in the great age of French cryptographic writing between Kerckhoffs and the mechanisation of the 1920s. The proposal is characteristic of its moment: a paper-and-pencil refinement aimed at a real clerical annoyance. Keywords people actually choose are full of repeated letters, and ordinary columnar's answer — arbitrary precedence between tied columns — felt like a defect to be designed away rather than a convention to be documented. History's verdict is that both instincts were partly right: the ACA adopted Myszkowski as a named type with the grouped read-off, while working systems mostly kept columnar and documented their tie-breaks.

Reference

The TOMATO grid and its groups

KeywordT O M A T O
GridMEETME / ATNOON
GroupsA:{4} · M:{3} · O:{2,6} · T:{1,5}
Read-offTO · EN · EETN · MMAO

Single-column groups read straight down, as in columnar. Multi-column groups read across the row first — that one change is the whole cipher.

Worked examples

Traced group by group

Example 1 — MEETMEATNOON under TOMATO

MEETMEATNOON → TOENEETNMMAO

The grid is MEETME / ATNOON, so the columns hold M/A, E/T, E/N, T/O, M/O, E/N. Group A owns column 4: T, O. Group M owns column 3: E, N. Group O owns columns 2 and 6, read jointly by rows: row one E, E; row two T, N. Group T owns columns 1 and 5: row one M, M; row two A, O. Assembled in group order A, M, O, T: TO + EN + EETN + MMAO = TOENEETNMMAO. Trace the O group once more and you have the whole cipher.

Example 2 — the same rule at length (CryptoCrack's example)

THE TROUBLE WITH DOING SOMETHING RIGHT… under MAMMAL → HRBWH ISEIR HHITM SAODP…

MAMMAL numbers 313312 — the three M's share one group of three columns, the two A's another. The published ciphertext runs HRBWHISEIRHHITMSAODP…, and this page's engine reproduces all eighty-five letters of it exactly.

Breaking it

Harder to anagram, not hard

Against the standard anagramming attack Myszkowski is somewhat stronger than columnar: the interleaving degrades the column-pair statistics the attack climbs, because adjacent ciphertext letters at a group boundary are horizontal neighbours in the grid, not vertical ones. Against a solver who models groups, the advantage shrinks to the modest enlargement of the search space — a refinement of procedure, not a new principle.

  • Security status: a puzzle-grade transposition; group-aware anagramming breaks it.
  • What gives it away: letter frequencies are untouched, as in every transposition — but column-boundary evidence is scrambled by the interleave.
  • The free path: a distinct-letter keyword makes it plain columnar, which the Transposition Solver handles.
Variants

Where the difference actually lives

RelativeHow it differsSolve it with
Columnar transpositionReads each tied column fully, in a fixed tie-break order — the systems agree only when the keyword has no repeatsThe Columnar page
AMSCOColumnar over alternating digraph/single cells — a different way of blurring column boundariesThe AMSCO page
Double transpositionTwo full columnar passes, usually with two keywordsThe Double Transposition page
Uses & culture

A lesson disguised as a cipher

Myszkowski survives in the ACA catalogue and in transposition studies because it teaches something no other small system teaches as cleanly: in transposition, the edge cases are the system.

Practice

Work the groups

Practice 1 — decode TOENEETNMMAO under TOMATO

TOENEETNMMAO → ?

Deal the ciphertext back into the read-off positions: A group first (2 letters, one column), then M, then the two-column O group by rows, then T.

Reveal the answer

MEETMEATNOON.

Practice 2 — encode ATTACKATDAWN under BALLOON

ATTACKATDAWN → ?

BALLOON's groups: A:{2}, B:{1}, L:{3,4}, N:{7}, O:{5,6}. The L and O groups interleave.

Reveal the answer

TDATTAAWACKN.

FAQ

Frequently asked questions

What keyword best shows Myszkowski's character?

One with several repeats: BALLOON (two L's, two O's) or TOMATO (two T's, two O's) are the canonical demonstrations. MISSISSIPPI makes almost every group multi-column.

How are keyword ties ordered inside a group?

Left to right, always: within a group, columns are taken in their grid order, and the reading proceeds row by row across them. Groups themselves are processed in alphabetical order of their shared letter. Those two sentences, plus the column-height rule, specify the cipher completely.

Is Myszkowski stronger than columnar?

Somewhat, against the standard attack — see Breaking it, above. Its historical interest exceeds its security margin.

Why doesn't the solver just treat it as columnar?

With a distinct-letter keyword it does, successfully — that case is columnar. With repeats, the grouped read-off produces ciphertext whose column decomposition does not exist in the solver's model, so its best columnar candidates score weakly and read badly.

Next steps