->

Cryptography - Lecture 9 - Block Cipher Design and Usage

This lesson discusses some design considerations for DES, and then looks at the modes of use of block ciphers.







<- -> 1. Weak Keys

->






<- -> 2. Weak Keys in DES

->






<- -> 3. Semi-Weak Keys in DES

->






<- -> 4. Demi-Semi Weak Keys in DES

->






<- -> 5. Handling Weak Keys

->







<- -> 6. DES Design Principles

->






<- -> 7. DES S-box Design

->






<- -> 8. DES Permutations Design

->






<- -> 9. DES Key Schedule and PC-2 Design

->







<- -> 10. Triple DES

->






<- -> 11. Security of Triple DES

->







<- -> 12. Modes of Use

->






<- -> 13. Electronic Codebook Book (ECB)

->






<- -> 14. Advantages and Limitations of ECB

->






<- -> 15. Cipher Block Chaining (CBC)

->






<- -> 16. Advantages and Limitations of CBC

->






<- -> 17. Cipher FeedBack (CFB)

->






<- -> 18. Advantages and Limitations of CFB

->






<- -> 19. Output FeedBack (OFB)

->






<- -> 20. Advantages and Limitations of OFB

->







<- -> 21. Summary

->







<- -> 22. Exercises

  1. Consider the avalanche effect in the DES cipher. If a single data input bit is changed, if it becomes a L half bit, roughly how many bits could be changed after round 1? After rounds 2, 3? Hint: if any input bit to an S-box is changed, potentially all that S-boxes output bits can change (given completeness in the S-box design). Now consider the case when a R half data bit is changed. How many bits could change after round 1, 2, 3? When a key bit is changed?
  2. For each of the four modes of use for block ciphers, think of an application where that mode would be the most appropriate, and in a few sentences describe the application and why the mode is the best choice






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