Transposition Ciphers

Explore ciphers that rearrange characters without changing them.

About Transposition Ciphers

Unlike substitution ciphers, transposition ciphers don't change the characters themselves - they only rearrange their positions. The plaintext letters remain the same, but their order is scrambled according to a systematic rule. These were commonly used in ancient and medieval cryptography.

Quick Comparison

CipherKey TypeSecurityEraComplexity
Rail Fence CipherNumber (rails)Very LowAncientO(n)
Columnar TranspositionText (Keyword)Low1800sO(n)
Scytale CipherNumber (diameter)Very Low~400 BCO(n)
Route CipherRoute patternLow1900sO(n)
Myszkowski TranspositionText (Keyword)Low1902O(n)
Double TranspositionTwo keywordsMediumWWI & WWIIO(n)
πŸ”„ Difference
Transposition keeps the same letters as plaintext but rearranges them, making frequency analysis useless.
πŸ“Š Pattern Analysis
These ciphers are vulnerable to pattern recognition and known-plaintext attacks.
πŸ” Best Security
Double transposition offers the best security among classical transposition ciphers.