

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Security in Computing Grade total = 2% Total points = 70 Due Date = October 25 (Wednesday), 2006 Question 1 (5 + 5 + 5 = 15 points) Consider sending a large file of F bits from Host A to Host B. There are two links (and one router) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 40 bits of header to each segments, forming frames of L = 40 + S bits. Each Link has a transmission rate of N bps. There is no propagation delay. Router R always processes a frame of size L after it receives it for L/2N seconds. Host A --------------- R --------------- Host B (i) When does the first frame arrive at Host B after Host A starts sending the frame at time T? (ii) Assume that the router R can send, receive and process simultaneously and A sends frames continuously (one after another), when will the second frame arrive at Host B? (iii) When will the file transfer be completed? Question 2 (10+10 = 20 points) Consider the following message sent by A to B (a) A โ B: EK[M] (b) A โ B: EKUb[M] A and B shares the secret key K. (i) Who can send the message EK[M] to B? (ii) Can A deny sending the message to B? (iii) Can B alter the message M to N and say that it received the message M from A? (iv) Does this transfer provide confidentiality? Justify your answer for each question. Question 3 (5+5 = 10 points)- Consider an application that transmits data at a steady rate (for example, the sender generates an N-bit unit of data every k time units, where k is small and fixed). Also, when such an application starts, it will continue running for a relatively long period of time. Answer the following questions, briefly justifying your answer:
i. Would a packet-switched network or a circuit-switched network be more appropriate for this application? Why? ii. Suppose that a packet-switched network is used and the only traffic in this network comes from such applications as described above. Furthermore, assume that the sum of the application data rates is less than the capacities of each and every link. Is some form of congestion control needed? Why? Question 4 (5 points) - What is the purpose of the S-boxes in DES? Question 5 (5 points) - What is Cryptanalysis? Question 6 (5 points) - In an RSA system, the public key of a given user is e = 31, n =