1 / 17

Classical Transposition Ciphers

Classical Transposition Ciphers. Day 13. Objectives. Students will be able to… …understand what transposition ciphers are and how they are implemented . …encrypt and decrypt using classic transposition ciphers. …create and use transposition ciphers of their own. Transposition ciphers.

cecily
Download Presentation

Classical Transposition Ciphers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Classical Transposition Ciphers Day 13

  2. Objectives Students will be able to… • …understand what transposition ciphers are and how they are implemented. • …encrypt and decrypt using classic transposition ciphers. • …create and use transposition ciphers of their own.

  3. Transposition ciphers • Rearrange the existing letters in the plaintext.

  4. Rail-Fence cipher This is an example tiephssnxmliaae

  5. Permutation cipher • Key (d, f) • d is a fixed length • f is a permutation function • Example if d = 4 then f could be (4, 2, 1, 3) • Break the plaintext up into blocks of length d. • Shuffle each block according to d.

  6. Permutation: Example 4 d = _________ f = ____________________ Plaintext ________________________________________ Ciphertext ________________________________________ (4, 1, 2, 3) This is an example → this isan exam plex sthinisamexaxple → sthinisamexaxple

  7. Column permutation cipher • Select keyword • Determines the number of columns • Determines the order of the columns

  8. Column permutation cipher: Example Plaintext: This is an example of a column permutation cipher. Key: break Key: (2,5,3,1,4) HAMFURTIXIXEOPTNEXINPAMMIPXTSAOLEACRSELCNUOHX

  9. Column permutation cipher: cryptanalysis • Determine possible underlying rectangles. How? • Discover which of the possible rectangles is correct (Note: vowels account for about 40% of characters.) • Determine the column order. How?

  10. Column permutation cipher: cryptanalysis – centiban weight • Which columns are matched? • U.S. government studied a collection of 5000 digrams • Calculated a value called a centibanweight, for each digram • Columns that produced a sum total of centiban values from the digrams that are greater then other columns have a higher probability of being the correct column.

  11. Column Cipher: Example NETEF LTDSR TSSTF MDCET DRHXS WHOHO EEADU OUUFI RRRRS NEROT CFIEM EDSHA RTCPJ AOEGE WNLHO EPMWA WERUV AAINA TSDDS OEOAC EHNTL HFLAU RAEEN OTOTS SOSYS TNNCG EMETT YDYRR NEOOE RESTH INR (Spillman, 2005, p. 91)

  12. Double-Transposition Cipher • Perform a column transposition cipher twice. You can use the same keyword. • Makes it more difficult for cryptanalysis. • Can be broken when you have multiple ciphertext documents.

  13. History of Transposition Ciphers • Used by Greeks • Used by the U.S. during the Civil war • Used by the Germans in WWI (Turning grille)

  14. Turning grille Plaintext: This an example of a turning grille cipher Ciphertext: HSNEMTIIE AXLFRGGLX IPANLCIHR TAEOUNREP

  15. Transposition Assignment • Parts of this assignment are independent and parts require a partner.

  16. Review • What is the principle behind transposition ciphers? • Classically what was an important skill for breaking a transposition cipher? • How can mathematics be used to break a column transposition cipher.

More Related