Being Eve

File: cryptography/being-eve.txt (or being-eve.pdf)

You may work in a group of size 1-3. Put all partner names at the top of the file you submit.

Goals

Rubric

1 - author name(s) at the top of the file 4/4 - [Diffie-Hellman] Value of the shared key K plus method of computing it 1/1 - [Diffie-Hellman] Explanation of why this wouldn't work with big integers 4/4 - [RSA] Message plus method of computing it, including encoding 1/1 - [RSA] Explanation of why this wouldn't work with big integers 1/1 - [RSA] Explanation of why the encoding is insecure independent of RSA

Background

Starting with the original RSA paper, cryptographic literature has used the names Alice and Bob as two parties who wish to communicate, and Eve as an eavesdropper (or occasionally an evil-doer) who surreptitiously obtains copies of Alice and Bob's communications. There's also a more complete cast of characters, including Trudy the intruder, Mal (Mallory/Malcolm/etc.) the malefactor/malicious person, etc.

For this assignment, you will play the role of Eve, who obtains copies of the messages sent between Alice and Bob during Diffie Hellman and RSA interactions. The assignment will provide you with the contents of the messages, and you will extract the information the parties are trying to hide.

What you (Eve) intercepted for Diffie Hellman

Alice and Bob agree on g = 11 and p = 59.

Alice sent Bob the number 57.

Bob sent Alice the number 44.

Your job for Diffie Hellman

What you, Eve, intercepted for RSA

Here's Bob's public key:

(e_Bob, n_Bob) = (13, 5561)

Here's the encrypted data sent from Alice to Bob:

[1516, 3860, 2891, 570, 3483, 4022, 3437, 299, 570, 843, 3433, 5450, 653, 570, 3860, 482, 3860, 4851, 570, 2187, 4022, 3075, 653, 3860, 570, 3433, 1511, 2442, 4851, 570, 2187, 3860, 570, 3433, 1511, 4022, 3411, 5139, 1511, 3433, 4180, 570, 4169, 4022, 3411, 3075, 570, 3000, 2442, 2458, 4759, 570, 2863, 2458, 3455, 1106, 3860, 299, 570, 1511, 3433, 3433, 3000, 653, 3269, 4951, 4951, 2187, 2187, 2187, 299, 653, 1106, 1511, 4851, 3860, 3455, 3860, 3075, 299, 1106, 4022, 3194, 4951, 3437, 2458, 4022, 5139, 4951, 2442, 3075, 1106, 1511, 3455, 482, 3860, 653, 4951, 2875, 3668, 2875, 2875, 4951, 3668, 4063, 4951, 2442, 3455, 3075, 3433, 2442, 5139, 653, 5077, 2442, 3075, 3860, 5077, 3411, 653, 3860, 1165, 5077, 2713, 4022, 3075, 5077, 653, 3433, 2442, 2458, 3409, 3455, 4851, 5139, 5077, 2713, 2442, 3075, 5077, 3194, 4022, 3075, 3860, 5077, 3433, 1511, 2442, 4851, 5077, 3000, 3075, 3860, 482, 3455, 4022, 3411, 653, 2458, 2891, 5077, 3075, 3860, 3000, 4022, 3075, 3433, 3860, 1165, 299, 1511, 3433, 3194, 2458]

Your job for RSA

Handing it in

In a folder called "cryptography" in your GitHub repository, put your results in a file called being-eve.txt or being-eve.pdf.

Have fun!


http://xkcd.com/177/