Hello, you are using an old browser that's unsafe and no longer supported. Please consider updating your browser to a newer version, or downloading a modern browser.

Global Accelerated Learning • Est. 1999
Glossary Term Transposition

Training Camp • Cybersecurity Glossary

What is Transposition?

A cipher technique that conceals data by rearranging the order of characters or bits rather than replacing them, as in columnar transposition or rail-fence ciphers.

Glossary > Cryptography & PKI > Transposition

Transposition — A cipher technique that conceals data by rearranging the order of characters or bits rather than replacing

Understanding Transposition

Transposition is a cryptographic technique that conceals information by systematically rearranging the order of its characters or bits according to a defined scheme, rather than replacing them. The original symbols are all preserved — only their positions change — so reversing the known permutation restores the plaintext. This contrasts with substitution, which swaps symbols for others.

In practice, a transposition cipher applies a permutation keyed by a secret arrangement. A columnar transposition writes the plaintext into a grid row by row, then reads it out column by column in an order set by a keyword. The rail-fence cipher zigzags letters across a number of rows and reads them off line by line. Because only position changes, the ciphertext keeps the same letter frequencies as the plaintext, which is a notable analytic weakness.

Transposition matters because it provides diffusion — spreading the influence of each plaintext element across the output — a property modern ciphers still rely on. Used alone it is weak, since unchanged letter frequencies and anagram analysis can break it. Its strength comes when combined with substitution: alternating substitution and transposition stages is the basis of Shannon's confusion-and-diffusion principle behind block ciphers like DES and AES, whose ShiftRows step is itself a transposition.

For example, encrypting "ATTACKATDAWN" with a columnar transposition under the keyword "ZEBRA" writes the text into columns, reorders the columns by the alphabetical rank of each key letter, and reads the result down each column to produce scrambled output. A recipient who knows the keyword reconstructs the column order and reads the message back — while an interceptor sees a meaningless rearrangement of the same letters.

Learn More About Transposition:

Ready to Get Certified?

Turn knowledge into credentials with our instructor-led cybersecurity boot camps.

View All Courses →