Paper 1, Section II, I

Coding and Cryptography
Part II, 2014

Describe, briefly, either the RSA or the Elgamal public key cipher. You should explain, without proof, why it is believed to be difficult to break the cipher you describe.

How can such a cipher be used to sign messages? You should explain how the intended recipient of the message can (a) know from whom it came; (b) know that the message has not been changed; and (c) demonstrate that the sender must have signed it.

Let I0,I1,,INI_{0}, I_{1}, \ldots, I_{N} be friendly individuals each of whom has a public key cipher. I0I_{0} wishes to send a message to INI_{N} by passing it first to I1I_{1}, then I1I_{1} passes it to I2,I2I_{2}, I_{2} to I3I_{3}, until finally it is received by INI_{N}. At each stage the message can be modified to show from whom it was received and to whom it is sent. Devise a way in which these modifications can be made so that INI_{N} can be confident both of the content of the original message and that the message has been passed through the intermediaries I1,I2,,IN1I_{1}, I_{2}, \ldots, I_{N-1} in that order and has not been modified by an enemy agent. Assume that it takes a negligible time to transmit a message from IkI_{k} to Ik+1I_{k+1} for each kk, but the time needed to modify a message is not negligible.