
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!

CS555 Midterm Solution Sketch Fall ’
Mallory performs a “person in the middle attack”: He replaces the X that Bob is supposed to receive by EKM (R), and replaces the Y that Alice is supposed to receive by EKM (R) (where KM is a random key generated by Mallory). This results in Alice believing that her session key with “Bob” is k′^ = EA(EKM (R)) and Bob believing that his session key with “Alice” is k′′^ = EB (EKM (R)). Both k′^ and k′′^ are known to Mallory: He gets k′^ by using KM to encrypt EKA (R), and he gets k′′^ by using KM to encrypt EKB (R). Whenever Alice sends “Bob” a message MA encrypted with k′, Mallory decrypts it, reads MA, encrypts MA with k′′^ and sends Ek′′ (MA) to Bob (Mallory could even maliciously modify MA). Similarly, when Bob sends “Alice” an MB encrypted with k′′, Mallory decrypts it, reads MB , encrypts MB with k′^ and sends Ek′ (MB ) to Alice.
No, because the protocol specifies that all keys are exchanged after the game.
Everybody got 5 points because I did not specify which of the two OT protocols (that were covered in class) is used.
F, F, T.
Alice sends RA = MA ∗ VB (R) where R is random. Bob sends her Y = SB (RA) = SB (MA) ∗ R. Alice multiplies Y by R−^1 and gets SB (MA).
Alice sends RA = VA(MA), which looks random. Bob sends her Y = SB (RA) = VA(SB (MA)). Alice computes SA(Y ) = SB (MA).
T, F, T.
T, F, T, F, F, F, T, F, F, T, F.
For any prime p and 0 < a < p, (ap−^1 mod p) equals 1
xi+1 = H(xi)
gcd(b, a mod b)
R, R′, M ⊕ R ⊕ R′
Neuman-Stubblebine