Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Homework 1

Due March 24
1. Alices RSA public key is (N,e) = (33,3) and her private key is d=7.
(a) If Bob encrypts the message M=19 for Alice, what is the ciphertext C?
(b) Show that Alice can decrypt C to obtain M.

2. The following is one of the discrete logarithm problem. Answer the question.
Z*11 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
P=11, a=6, b=7. Then, find x such that ax = b mod p
In order to find x, you have to compute all power of a. Keep computing and find that this makes the
cyclic group, i.e., the order is 10.

3. Given the elliptic curve


E: y2 = x3 + 7x + b mod 11
And the point P=(4,5), determine b so that P is on E. List all points on E and find the sum (4,5) + (5,4)
on E.

4. Given the elliptic curve


E: y2 = x3 + 11x +19 mod 167
The points P = (2,7) is on E. Suppose these E and P are used in an ECC Diffie-Hellman key exchange,
where Alice chooses the secret value a = 12 and Bob chooses the secret value b=31. What value
does Alice send to Bob? What does Bob send to Alice? What is the shared secret?

You might also like