Docsity

Transposition Ciphers: Reordering Symbols for Computer Security, Summaries of Computer science

Partial preview of the text

Download Transposition Ciphers: Reordering Symbols for Computer Security and more Summaries Computer science in PDF only on Docsity!

Foundations of Computer Security

Lecture 43: Transposition Ciphers

Dr. Bill Young Department of Computer SciencesUniversity of Texas at Austin

Lecture 43: 1

Transposition Ciphers

Transposition Ciphers^ A

transposition cipher

hides information by reordering the symbols

in a message. The goal of transposition is

diffusion

Example:

Columnar transposition

involves writing the plaintext

characters in a number of fixed length rows such as the following:

c^1

c^2

c^3

c^4

c^5

c^6

c^7

c^8

c^9

c^10

c^11

c^12

etc.

Form the ciphertext by reading down the columns:

cc^16

cc^112

If the message length is not a multiple of the number of columns,pad the final row with any character.

Lecture 43: 2

Transposition Ciphers

Cryptanalysis of Transpositions^ Question:

Given a text you believe to be the encryption of a text by transposition. How could you increase your confidence thatthat’s the case? Answer:

Since transposition reorders characters, but doesn’t replace them, the original characters still occur in the result. Letterfrequencies are preserved in the ciphertext, but the frequencies ofdigrams, trigrams, etc. are not.In a columnar transposition with rows of length

n, adjacent

characters in the plaintext are

cand^1

cn+

,^ cand^2

cn+

, etc.

Hypothesize a distance of

n^ and try a decryption; if it fail, try a

distance of

n^ + 1, etc.

Lecture 43: 4

Transposition Ciphers

Combinations of Approaches^ Substitutions and transpositions can be regarded as building blocksfor encryption. Many important commercial algorithms usecombinations of these.A combination of two or more ciphers is called a

product cipher

or

cascade cipher

E(E^21

(P,^ k

),^ k 12

A combination is not necessarily stronger than either cipherindividually. It may even be weaker.

Lecture 43: 5

Transposition Ciphers