->

Cryptography - Lecture 10 - Recent Block Ciphers

This lesson continues with descriptions of more recent block ciphers, including LOKI, IDEA, RC5 and the AES cipher.







<- -> 1. LOKI

->






<- -> 2. Overall LOKI91 Structure

->






<- -> 3. LOKI Design

->






<- -> 4. LOKI Key Schedule

->






<- -> 5. LOKI Keys

->






<- -> 6. LOKI Function f

->






<- -> 7. LOKI Key Addition and Expansion E

->






<- -> 8. LOKI S-Boxes

->






<- -> 9. LOKI S-boxes

->






<- -> 10. LOKI Permutation P

->






<- -> 11. Security of LOKI91

->







<- -> 12. IDEA

->






<- -> 13. Overview of IDEA

->






<- -> 14. Overall IDEA Structure

->






<- -> 15. IDEA Key Schedule

->






<- -> 16. IDEA Key Schedule

->






<- -> 17. IDEA Example Encryption

#           Key (128-bits)       Plain (64-bit)   Cipher (64-bit)
7ca110454a1a6e5701a1d6d039776742 690f5b0d9a26939b 1bddb24214237ec7
idea(X=690f 5b0d 9a26 939b)
r=1, X=690f 5b0d 9a26 939b, SK=7ca1 1045 4a1a 6e57 01a1 d6d0
  steps=234a 6b52 e440 840f c70a ef5d 3606 2563 0311 3917 205b e751 5245 bd18
r=2, X=205b e751 5245 bd18, SK=3977 6742 8a94 34dc ae03 43ad
  steps=460a 4e93 dcd9 3995 9ad3 7706 d13d 4843 4b2d 1c6a 0d27 97f4 52f9 25ff
r=3, X=0d27 97f4 52f9 25ff, SK=a072 eece 84f9 4220 b95c 0687
  steps=3320 86c2 d7f2 7410 e4d2 f2d2 57cb 4a9d 04e4 5caf 37c4 d316 da6d 28bf
r=4, X=37c4 d316 da6d 28bf, SK=5b40 e5dd 9d09 f284 4115 2869
  steps=8920 b8f3 7776 69e3 fe56 d110 7266 4376 10c0 8326 99e0 67b6 3bd5 eac5
r=5, X=99e0 67b6 3bd5 eac5, SK=0eb6 81cb bb3a 13e5 0882 2a50
  steps=9c69 e981 f70f 8efb 6b66 677a b63b 1db5 f5a8 abe3 69c1 02a7 4262 2518
r=6, X=69c1 02a7 4262 2518, SK=d372 b80d 9776 7427 ca11 0454
  steps=d39a bab4 d9d8 75d4 0a42 cf60 ba4a 89aa d175 8bbf 02ef 08ad 310b fe6b
r=7, X=02ef 08ad 310b fe6b, SK=a1a6 e570 1a1d 6d03 4f94 2208
  steps=3420 ee1d 4b28 1deb 7f08 f3f6 c124 b51a 04bd c5e1 309d 4f95 2bfc d80a
r=8, X=309d 4f95 2bfc d80a, SK=a943 4dca e034 3ada 072e ece8
  steps=3df3 9d5f 0c30 0ada 31c3 9785 44a5 dc2a 7253 b6f8 4fa0 7e63 2ba7 bc22
out, X=4fa0 2ba7 7e63 bc22, SK=1152 869b 95c0 6875 
    = 1bdd b242 1423 7ec7

->







<- -> 18. RC5

->






<- -> 19. RC5 Overview

->







<- -> 20. Other Block Ciphers

->







<- -> 21. Advanced Encryption Standard (AES)

->






<- -> 22. AES Requirements

->






<- -> 23. AES Shortlist

->






<- -> 24. AES Finalist - Rijndael

->






<- -> 25. Rijndael Rounds

->







<- -> 26. Summary

->







<- -> 27. Exercises

  1. Trace round 3 of the example IDEA encryption used in the lectures (and excerpted below), showing how each of the 14 steps are computed. Also describe how the subkey value is created from the original key.
    #           Key (128-bits)       Plain (64-bit)   Cipher (64-bit)
    7ca110454a1a6e5701a1d6d039776742 690f5b0d9a26939b 1bddb24214237ec7
    idea(X=690f 5b0d 9a26 939b)
    r=1, X=690f 5b0d 9a26 939b, SK=7ca1 1045 4a1a 6e57 01a1 d6d0
        steps=234a 6b52 e440 840f c70a ef5d 3606 2563 0311 3917 205b e751 5245 bd18
    r=2, X=205b e751 5245 bd18, SK=3977 6742 8a94 34dc ae03 43ad
        steps=460a 4e93 dcd9 3995 9ad3 7706 d13d 4843 4b2d 1c6a 0d27 97f4 52f9 25ff
    r=3, X=0d27 97f4 52f9 25ff, SK=a072 eece 84f9 4220 b95c 0687
        steps=3320 86c2 d7f2 7410 e4d2 f2d2 57cb 4a9d 04e4 5caf 37c4 d316 da6d 28bf
    r=4, X=37c4 d316 da6d 28bf, SK=5b40 e5dd 9d09 f284 4115 2869
    
  2. When implementing IDEA, could you pre-compute each of the functions, or would they have to be computed every time you performed an en/decryption? Discuss the implications of your answer.
  3. Compare the computational efficiency of IDEA to RC5 in a few sentences, and hence suggest some reasons for why RC5 was chosen as the main block cipher used in web browsers.






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