Permutation Cipher - Breaking The Cipher

Breaking The Cipher

Because the cipher operates on blocks of size e, the plaintext and the ciphertext have to have a length which is some multiple of e. This causes two weaknesses in the system: first, the plaintext may have to be padded (if the padding is identifiable then part of the key is revealed) and second, information relating to the length of the key is revealed by the length of the ciphertext. To see this, note that if the ciphertext is of length i then e must be one of the divisors of i. With the different possible key sizes different possible permutations are tried to find the permutation which results in the highest number of frequent bigrams and trigrams as found in the underlying language of the plaintext. Trying to find this permutation is essentially the same problem encountered when analysing a columnar transposition cipher: multiple anagramming.

Read more about this topic:  Permutation Cipher

Famous quotes containing the words breaking the, breaking and/or cipher:

    What was he doing, the great god Pan,
    Down in the reeds by the river?
    Spreading ruin and scattering ban,
    Splashing and paddling with hoofs of a goat,
    And breaking the golden lilies afloat
    With the dragon-fly on the river.
    Elizabeth Barrett Browning (1806–1861)

    Hence to fight and conquer in all your battles is not supreme excellence; supreme excellence consists in breaking the enemy’s resistance without fighting.
    Sun Tzu (6–5th century B.C.)

    It is not an arbitrary “decree of God,” but in the nature of man, that a veil shuts down on the facts of to-morrow; for the soul will not have us read any other cipher than that of cause and effect. By this veil, which curtains events, it instructs the children of men to live in to-day.
    Ralph Waldo Emerson (1803–1882)