Myszkowski Transposition Cipher
Choose a mode, enter a keyword and your message.
Result
How it is calculated
Only the letters A-Z of the keyword are used, in capitals. Each distinct letter gets a number by alphabetical order, and repeated letters share one number. All spaces are removed from the message and the rest (letters, digits, punctuation, case) is written into a grid, row by row, with as many columns as the keyword has letters; the last row may be short.
The ciphertext is read number by number, starting from 1. If a number belongs to one column, that column is read from top to bottom. If several columns share a number, they are read together row by row, left to right. Decoding rebuilds the same grid shape from the ciphertext length and fills it back in the same order. No padding is added, and the output has no spaces, so you should regroup it yourself if you want blocks of five. The result shows the key length and the mode used.
Worked example
Keyword TOMATO has 6 columns, numbered T=4, O=3, M=2, A=1, T=4, O=3. The message WE ARE DISCOVERED FLEE AT ONCE, with spaces removed, fills five rows: WEARED / ISCOVE / REDFLE / EATONC / E. Number 1 (column 4): ROFO. Number 2 (column 3): ACDT. Number 3 (columns 2 and 6, row by row): EDSEEEAC. Number 4 (columns 1 and 5, row by row): WEIVRLENE. Joined, the ciphertext is ROFOACDTEDSEEEACWEIVRLENE.
Common mistakes
- Expecting ciphertext in groups of five or with spaces. The result is one continuous string, and spaces in the message are removed before encryption, so the decoded text also has no spaces.
- Using a keyword with no repeated letter and expecting Myszkowski behaviour. Then every letter has its own number and the result is an ordinary columnar transposition.
- Typing digits or symbols in the keyword. Only letters count, so "to mato!" is the same key as TOMATO, and a keyword with no letters gives no result.
- Decoding with a different keyword, or after editing the ciphertext. The grid shape depends on the key length and the exact text length, so one lost letter breaks the decoding.
- Treating it as secure. It only reorders letters, so letter frequencies stay unchanged; use it for puzzles and learning, not for protecting information.
About this calculator
The Myszkowski transposition cipher is a variant of the columnar transposition cipher where the encryption keyword is allowed to contain repeated letters. In a standard columnar transposition, each keyword letter gets its own unique rank to determine column reading order; in Myszkowski's version, repeated letters share the same rank number, and all columns sharing that number are read together left-to-right (row by row) before moving to the next rank — a subtle twist that changes the resulting ciphertext pattern compared to the classic method.
Named after Émile Myszkowski, who published the technique in 1902, this cipher is studied primarily in classical cryptography courses and puzzle/code-breaking communities as an example of how small structural changes to a transposition scheme affect its security and the statistical patterns left in ciphertext. It's a manual, pre-computer cipher — not used for real security today — but remains a staple teaching example for how transposition (as opposed to substitution) ciphers work.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
What sets this cipher apart is the repeated key letters: in TOMATO the two Ts and two Os share a number, so those columns are read together, row by row. Encoding WEAREDISCOVEREDFLEEATONCE with that key gives ROFOACDTEDSEEEACWEIVRLENE. Try a key with no repeats and you get an ordinary columnar transposition. What keyword and message are you experimenting with?