Docsity

Final Exam with Practice Problems - Cryptography | MATH 116, Exams of Mathematics

Toggle sidebar
bg1
Math 116
PROFESSOR KENNETH A. RIBET
Final Examination
May 19, 2009
8 AM–11 AM, 3 Evans Hall
Please put away all books, calculators, and other portable electronic devices—anything with an
ON/OFF switch. You may refer to a single 2-sided sheet of notes. For all questions, even
computational ones, show your work and explain in complete sentences what you are doing.
Think of this exam paper as your representative.
Problem Your score Possible points
1 6 points
2 8 points
3 8 points
4 7 points
5 4 points
6 9 points
7 8 points
Total: 50 points
1. Use the congruence 2942≡102mod 1349 to find a non-trivial factorization of 1349.
You have to compute the gcd of 304 or 284 with 1349. This is annoying, perhaps, but how
bad can it be:
1349 = 4 ·304 + 133,304 = 2 ·133 + 38,133 = 3 ·38 + 19,....
The gcd is 19, and 1349 = 19 ·71.
2. a. Find numbers aand bso that
(−1,0) + (0,−1) + (a, b) = O
on the elliptic curve y2+y=x3−xover the field of rational numbers.
The main point is that three distinct points on an elliptic curve sum to O(the point at
infinity) if and only if they are collinear. If you ask that aand bsatisfy a+b=−1as well
as b2+b=a3−a, you quickly get a cubic equation for a. The cubic has 3 as the sum of
its roots, and two roots are already known, namely −1and 0. Hence the remaining root is
a= 2. This gives b=−3.
1
pf3

Partial preview of the text

Download Final Exam with Practice Problems - Cryptography | MATH 116 and more Exams Mathematics in PDF only on Docsity!

Math 116

PROFESSOR KENNETH A. RIBET

Final Examination

May 19, 2009

8 AM–11 AM, 3 Evans Hall

Please put away all books, calculators, and other portable electronic devices—anything with an ON/OFF switch. You may refer to a single 2-sided sheet of notes. For all questions, even computational ones, show your work and explain in complete sentences what you are doing. Think of this exam paper as your representative.

Problem Your score Possible points 1 6 points

2 8 points 3 8 points 4 7 points

5 4 points 6 9 points 7 8 points

Total: 50 points

  1. Use the congruence 294^2 ≡ 102 mod 1349 to find a non-trivial factorization of 1349.

You have to compute the gcd of 304 or 284 with 1349. This is annoying, perhaps, but how bad can it be:

1349 = 4 · 304 + 133, 304 = 2 · 133 + 38, 133 = 3 · 38 + 19,....

The gcd is 19 , and 1349 = 19 · 71.

  1. a. Find numbers a and b so that

(− 1 , 0) + (0, −1) + (a, b) = O

on the elliptic curve y^2 + y = x^3 − x over the field of rational numbers.

The main point is that three distinct points on an elliptic curve sum to O (the point at infinity) if and only if they are collinear. If you ask that a and b satisfy a + b = − 1 as well as b^2 + b = a^3 − a, you quickly get a cubic equation for a. The cubic has 3 as the sum of its roots, and two roots are already known, namely − 1 and 0. Hence the remaining root is a = 2. This gives b = − 3.

b. How many points does the elliptic curve y^2 + y = x^3 − x have over the field with 2 elements? over the field with 3 elements?

Just count the possibilities for x and y, remembering to add in the point at infinity at the end. There are 5 point mod 2 and 7 points mod 3.

  1. a. If an elliptic curve has 9 points over the field with 7 elements, how many points does it have over the field with 49 elements?

We did problems like this in class, and the answer here seems to be 63. Method: As in the book, write 9 = 1 + p − t = 8 − t and learn from this equation that t = − 1. If α and β are the roots of x^2 − tx + p (i.e., x^2 + x + 7), the number of points of the curve over F 7 is (1 − α)(1 − β), and the number of points of the curve over F 49 is (1 − α^2 )(1 − β^2 ) = [(1 − α)(1 − β)][(1 + α)(1 + β)]. The first factor is the 9 that we started with. The second factor is 1 + p + t = 8 + (−1) = 7. Thus the product is 9 · 7 = 63.

b. On the elliptic curve y^2 +y = x^3 −x over the field with 67 elements, the points Q = (44, 33) and R = (14, 33) have order 2. Determine the Weil pairing e 2 (Q, R).

Sorry for this annoying question. The values of the Weil pairing e 2 are 2nd roots of unity; they’re either 1 or − 1. If P 1 and P 2 are of order 2, e 2 (P 1 , P 2 ) = 1 if and only if P 2 is a multiple of P 1. But P 1 has only one non-zero multiple, namely itself. Hence in fact e 2 (P 1 , P 2 ) = − 1 if P 1 and P 2 are distinct points of order 2. That’s the case here, so the answer is − 1.

  1. Compute:

a. The probability of getting at least 4 heads when a fair coin is tossed 10 times.

The number of possible outcomes of this experiment is 210 = 1024. The number of ways of getting 0 heads is 1. (You have to go tail, tail,... .) The number of ways of getting one head is 10 ; for two heads the number is (10 · 9)/2 = 45. For three, it’s (10 · 9 · 8)/6 = 120. So my answer is the fraction whose numberator is 1024 − 166 = 858 and whose denominator is 1024 , or 143 / 17 if you prefer. If you leave things in terms of binomial coefficients, that’s probably OK, though I hope that you write the answer either as a single number or as an expression that can be computed by a sixth grader.

b. The number of integer triples (a, b, c) with |a| ≤ 5, |b| ≤ 6, |c| ≤ 7.

I took this problem from a final exam at another university. The answer is the number of possible as times the number of possible bs times the number of possible cs. These numbers are 11 , 13 and 15 , so the answer is 11 · 13 · 15 = 2145. (You don’t have to compute 2145 .)

  1. Suppose that we wish to find t so that 2t^ ≡ 72 mod 101. If Pollard’s ρ method yields the congruence 2^10 ≡ 7210 mod 101, what information can we obtain about the exponent t?

We have been provided with the congruence 210 ≡ 210 t^ mod 101 ; note that 101 is a prime. We can infer that 10 ≡ 10 t mod r, where r is the order of 2 in (Z/ 101 Z)∗. Thus r is a divisor of 100 , and we might as well go with the worst-case scenario, namely that r = 100. (If you understand from the context that 2 is a generator mod 101 , you’ll be on safe grounds, since there seems to be an understanding that t exists and that there’s nothing special about 72. You can check, if you want that r is indeed 100. To see that r = 100, you need to know that 2 isn’t a square mod 101 , which follows from quadratic reciprocity, and also that 2 isn’t a fifth power mod 101. To check this latter fact, you need to know that 220 6 ≡ 1 mod 101 , and