Docsity

Assignment 6 - Cryptography Computer Network Security | ECE 646, Assignments of Cryptography and System Security

Toggle sidebar
bg1
Homework 6
due Tuesday, October 24th, 2006, 7:20 PM
at the beginning of class
Reading Assignment:
โ€ขW. Stallings, Cryptography and Network-Security, Sections 3.1-3.3, 3.5, 6.1
โ€ขA. Menezes, P. van Oorschot, and S. Vanstone, Handbook of Applied Cryptography, Chapter 7.4
Tasks:
1. (All) Start preparations for the Midterm.
Problems (all tracks):
Please use very legible handwriting or type the answers. In either case you can draw diagrams and write
formulae by hand but they have to be legible and the diagrams have to be labeled clearly. Answers that neither
the TA nor the instructor can read receive 0 points. You are allowed to work in groups on these problems but
you have to write your own solution in your own words. Copying the solution from someone else (in class or
otherwise e.g. Internet) is a serious honor code violation and will be treated as such.
1. (20 points) A popular approach for determining the security of a private-key cipher against a brute
force attack is estimating the cost of a key search machine. We will study this approach in this
problem.
Assume we design a DES chip with pipelined hardware so that one encryption (or key test) can be
done in one clock cycle and the chip can be clocked at 200 MHz. The production of this chip (ASIC)
has a one-time cost of $50,000 for making the masks and then each chip costs $5.
a) How many DES chips must run in parallel for an average search time of 12 hours?
b) What is the cost for such a machine. Assume that for each chip we have to calculate 100%
overhead on the chip price (not the one time cost) for glue logic and building of the machine.
c) We try now to take the advances in computer technology into account. Predicting the future
tends to be tricky, but the estimate usually applied is Moore's law, according to which
computer power doubles every 18 months. How many years do we have to wait until a key
search machine can be build for DES with an average search time of 1 hour? We assume that
4000 DES chips are used in parallel in our machine.
pf2

Partial preview of the text

Download Assignment 6 - Cryptography Computer Network Security | ECE 646 and more Assignments Cryptography and System Security in PDF only on Docsity!

Homework 6

due Tuesday, October 24

th

, 2006, 7:20 PM

at the beginning of class

Reading Assignment:

  • W. Stallings, Cryptography and NetworkSe curity, Sections 3.13.3, 3.5, 6. 1
  • A. Menezes, P. van Oorschot, and S. Vanstone, Handbook of Applied Cryptography, Chapter 7.

Tasks:

  1. (All) Start preparations for the Midterm.

Problems (all tracks):

Please use very legible handwriting or type the answers. In either case you can draw diagrams and write formulae by hand but they have to be legible and the diagrams have to be labeled clearly. Answers that neither the TA nor the instructor can read receive 0 points. You are allowed to work in groups on these problems but you have to write your own solution in your own words. Copying the solution from someone else (in class or otherwise e.g. Internet) is a serious honor code violation and will be treated as such.

  1. (20 points) A popular approach for determining the security of a privatek ey cipher against a brute force attack is estimating the cost of a key search machine. We will study this approach in this problem. Assume we design a DES chip with pipelined hardware so that one encryption (or key test) can be done in one clock cycle and the chip can be clocked at 200 MHz. The production of this chip (ASIC) has a onet ime cost of $50,000 for making the masks and then each chip costs $5. a) How many DES chips must run in parallel for an average search time of 12 hours? b) What is the cost for such a machine. Assume that for each chip we have to calculate 100% overhead on the chip price (not the one time cost) for glue logic and building of the machine. c) We try now to take the advances in computer technology into account. Predicting the future tends to be tricky, but the estimate usually applied is Moore's law, according to which computer power doubles every 18 months. How many years do we have to wait until a key search machine can be build for DES with an average search time of 1 hour? We assume that 4000 DES chips are used in parallel in our machine.
  1. (8 points) As shown in the lecture, one important property which makes DES secure is that the S boxes are nonl inear. In this problem we are going to verify this property by computing the output of S 1 for several pairs of inputs. Show that S^1 ๎‚ž^ x 1 ๎‚ŸโŠ•S 1 ๎‚ž^ x^2 ๎‚Ÿโ‰ S^1 ๎‚ž^ x 1 โŠ•^ x 2 ๎‚Ÿ^ , where โŠ• denotes bitwise XOR, for: a) x 1 = 000001, x 2 = 10000 b) x 1 = 010001, x 2 = 10111
  2. (10 points) What is the output of the first iteration of the DES algorithm when the plaintext is all zero and the key is all one?