



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!




1. [14 points] Are n=323 and e=5 valid numbers for RSA. Explain. If you answer yes, obtain the corresponding d.
2. [5 points] Recall that a DES encryption operation takes a 64-bit plaintext block and a 56-bit key and produces a 64-bit ciphertext block. Recall also that each DES encryption operation itself consists of a number of iterations, which we shall refer to as basic iterations.
For the DES encryption in CBC mode of a plaintext message of N 64-bit blocks, obtain the following (in terms of N): a. Total number of DES encryption operations. b. Size of the output. Explain briefly. c. Total number of basic iterations. Explain briefly.
4. [10 points] Consider a public key infrastructure with principals A 1 , A 2 , …, A 20 and B 1 , B 2 , …, B 20. There are three certification authorities, namely, X, Y, and Z. Each principal (i.e., Ai and Bi) has X’s public key. X issues certificates for Y and Z. Y issues certificates for A 1 , A 2 , …, A 20. Z issues certificates for B 1 , B 2 , …, B 20.
Suppose A 1 wants the public key of B 2. What are the documents (e.g., certificates) that A 1 looks for. For each document, describe its fields and any constraints that must hold.
5. [10 points] The chart below shows a skeleton of an authentication protocol. Initially, principals A and B share a secret key K and public Diffie-Hellman parameters g and p. Assume an attacker that can eavesdrop, intercept messages, and send messages with another’s sender id. Supply an authentication protocol (i.e., the part indicated by the “● ● …. ● ●”) such that: - A initiates the protocol. - A and B authenticate each other (i.e., the attacker cannot impersonate one to the other). - A and B establish a session key S (for encrypting data) such that after A and B disconnect and forget S, even if the attacker learns K, the attacker cannot decrypt the data exchanged. - The authentication involves at most 4 messages (it can be fewer). (Only one cell can be used in each row.)
A (has K, g, p) B (has K, g, p)
●
<------------------- A and B exchange data ----------------->
<------------------- A and B disconnect ---------------------->