Complete the following exercises.
Protocol. A and B verify that they possess a common key K, using a public one-way function h. i. A sends h(h(K)) to B. ii. B verifies that the received value is correct. iii. B sends h(K) to A. iv. A verifies that the received value is correct. a. Why not have A send h(K) to B and then have B send h(h(K)) to A? b. What keeps C from intercepting A's transmission of h(h(K)) and then sending h(K) back to A (assuming C doesn't know K)?
Electronic submission preferred, using the turnin command (on mentor.ics.purdue.edu, turnin -c cs526 -p asn1 filename). Pdf is the safest for capturing non-text, please check with the TA for formats other than text or pdf. If emailed as an attachment, use your career account ID (followed by appropriate file type extension) as the file name. Hard copy is acceptable, please hand in at the beginning of class.