Cryptography Exam Mandate
Exercise 1
Consider the ring ℤ/1188503ℤ.
- a Find the order of [4]1188503 in (ℤ/1188503ℤ)*.
- b How many elements of order 1008 are there in (ℤ/1188503ℤ)*?
- c Find all elements of order 6 in (ℤ/1188503ℤ)*.
Exercise 2
Consider the field ℤ/2ℤ [X] / (X4 + X + 1), and let α = [X](X4+X+1).
Determine, without the use of GAP, if α is a generator of
(ℤ/2ℤ [X] / (X4 + X + 1))*, and find the inverse of α8.
Exercise 3
A message m is sent to a person which encrypted using RSA with the public
key (n, e), where n is the RSA-modulus and e the encryption exponent.
- a Decrypt the cipher text c = 1516, which was encrypted with the
public key (7153, 17).
- b Factorize the RSA-modulus of the public key (139057, 7) using
the fact that the secret key is d = 98743 and applying the algorithm
with the number 5.
- c How many x ∈ ℤ, with 1 < x < 139057 and gcd(x, 139057) = 1, are
there such that the algorithm in the previous part finds the factor 577
at step 3 (that is when t = 2).
Exercise 4
The public ElGamal-key of Alice is p = 506251, α = 23, and A = 21242.
- a The plain text is 2468, Bob takes b = 1357. Compute the cipher
text (B, C).
- b Together with Oscar you are trying to find the secret key x of
Alice using the Pohlig-Hellman Algorithm. Oscar has already established
x ≡ 1 (mod 2) and x ≡ 13 (mod 81). Complete the work of Oscar.
- c The cipher text is B = 457203, C = 457544. Compute the plain text.
Exercise 5
Let A = { a | a ∈ ℤ, 1 ≤ a < 499249, gcd(a, 499249) = 1 }.
- a How many a ∈ A are there such that 499249 is an a-pseudo prime?
- b How many a ∈ A are there such that 499249 passes the Miller-Rabin
test for a with the sequence of the form *, *, −1, 1?
- c Find in a constructive way two a ∈ A such that 499249 passes the
Miller-Rabin test for a with the sequence *, *, −1, 1. You may use the
fact that [7]433 is a generator of (ℤ/433ℤ)* and [5]1153 is a generator
of (ℤ/1153ℤ)*.
Exercise 6
Let R be a finite commutative ring with identity and 1 ≠ 0. Assume R has
exactly one zero divisor. Show that |R| = 4 and that R is isomorphic to
ℤ/2ℤ [X] / (X2) or ℤ/4ℤ.