Transposition cipher
A classical cipher that hides a message by rearranging the positions of its characters according to a key, while leaving the characters themselves unchanged.
A transposition cipher encrypts by changing the order of the characters in a message, not the characters themselves. The ciphertext contains exactly the same letters as the plaintext, in an arrangement set by the key. The rail fence cipher writes the message in a zigzag across several rows and reads it off row by row; a columnar transposition writes it into a grid under a keyword and reads the columns out in the keyword’s alphabetical order. The Spartan scytale, a strip wound around a rod of a particular diameter, is the historical example most often cited.
The distinction candidates commonly confuse is with the substitution cipher, which replaces each character with another but keeps its position. Because a transposition keeps every letter, the ciphertext has the same letter frequencies as ordinary text, which tells a cryptanalyst that transposition rather than substitution is in use, although frequency analysis alone does not recover the order. Neither technique is secure on its own. Claude Shannon’s principles of confusion and diffusion explain why modern block ciphers combine substitution and permutation steps over many rounds.
Exam relevance: a scenario that describes rearranging or permuting characters is likely to point to transposition, while replacing or shifting them points to substitution.