Cryptography - Lecture 5 - Classical Transposition Ciphers

Objectives

  • encrypt and decrypt messages using any of the classical transposition ciphers
  • analyse an unknown ciphertext message doing an "index of coincidence" calculation to determine that a transposition cipher has been used
  • and then break the cipher by trialing possible row transpostions and using known single, double and triple letter frequencies to recover the original message, determine the cipher type, and determine the key used
  • Preliminary Reading

    Stallings, "Cryptography and Network Security", Ch 2.3, pp41-42.

    Lecture Content

    Using the Krypto Program

    1. Using the Krypto Program
    2. Command-line Interface
    3. GUI Interface

    Transposition Ciphers

    1. Transposition Ciphers
    2. Scytale cipher
    3. Reverse (Mirror) cipher
    4. Rail Fence cipher
    5. Geometric Figure
    6. Key Concept for Transposition Ciphers

    Row Transposition ciphers

    1. Row Transposition ciphers
    2. Using a Row Transposition cipher
    3. Example Row Transposition
    4. Decryption of a Row Transposition cipher
    5. Cryptanalysis of Row Transposition ciphers
    6. Example Cryptanalysis
    7. Unicity Distance for Row Transposition ciphers

    Summary

    1. Summary

    Exercises

    1. Exercises
      1. encrypt and then decrypt by hand, the text below using a row transposition cipher with a key of SNEAKY:
        the cat only grinned when it saw
        alice it looked good natured she
        thought still it had very long claws
        and a great many teeth so she felt
        that it ought to be treated with respect
        
      2. break the following ciphertext:
        onind aseni huaot iiret vhsea usies aadrw ginon wnfee turip
        onocs iucnr ofgmr tecrn alavj osaum etnrm vpaoi ncloa cuval
        oongl ssimt tnooi girtn cehta tviyi rasey eisnd nstti eehnd
        yespl lpoau aetrd haeos blued eawor spfso ebidl enarg yhtse
        nyaci seria ygnfl uereq utnrs eafac odnlv iaccn mrtoe rsrea
        ucorc wniig lhtoc odufs kmseo lnaad av
        

    Additional References

    For additional information, see:
  • Singh, "The Code Book", Ch 1
  • Seberry & Pieprzyk, "Cryptography - An Introduction to Computer Security", 2/e Ch 3.1.4; 1/e Ch 3.1.5 pp66-69
  • Sinkov, "Elementary Cryptanalysis", Ch 5

  • [Back to CCS3 Lectures]
    Lawrie.Brown@adfa.edu.au / 6 Feb 2001