Multiplicative
groups
|
 
|
For this question, see especially Sections 3.2.1 and 3.2.2 in
Groups, Modular Arithmetic, and Cryptography
- Find all the elements of the multiplicative group
Z8*.
- For Euler's Totient function Phi, see
Section 4.4. Find Phi(8).
- Find Phi(77).
- Consider two prime numbers:
3662502317
2480067991
What is Phi(3662502317) and
Phi(2480067991)?
- Consider 9083254763355035147
and note that:
3662502317 * 2480067991 = 9083254763355035147
What is Phi(9083254763355035147)?
|
Diffie-
Hellman
|
 
|
The Diffie-Hellman protocol goes like this:
First, Alice and Bob publically agree on on a large prime
p and a generator g of Z*p.
- Alice chooses a large random number x and
sends Bob:
X = gx mod p
- Bob chooses a large random number y and
sends Alice:
Y = gy mod p
- Alice computes
K = Yx mod p
- Bob computes
K = Xy mod p
The security of the protocol depends on the
fact that it is easy to compute Z where
Z = Xy mod p
even for large y, but hard to compute y
y = logX Z mod p
Here are some questions:
- Bob and Alice choose 11 as their modulus. Is 3 appropriate
for g?
- Explain why the computations in step C and D get the
same result. That is, why is it the case that
Xy = Yx mod p?
-
The protocol would work even
if g were not a generator.
What is the security advantage of making
g a generator?
|
Euler's
Theorem
|
 
|
For this question review Section 4.4 of
Groups, Modular Arithmetic, and Cryptography.
Section 4.3 may also be of help.
Recall the definition of the order of a group
The order of a group G is just the number of elements
in G. The order of an element g of a finite group G
is just the number of elments in the cyclic subgroup
of G Hg. Thus in Z7*,
2 has order 3 and 3 has order 6 because
H2 = {1, 2, 4}
H3 = {1, 2, 3, 4, 5, 6}
Now some questions:
- What is the order of Z7*?
What is the order of Z11*?
- Within Z7*, what are
the orders of 4,5, and 6?
- True or False: The order of an element a of group G is
the power i such that:
ai = e
where e is the identity element.
- Within Z26*, which of
the following are possible orders for elements.
2,3,4,5,6? Justify your answer by citing a theorem.
Hint: note 26 is an RSA number, the product of two primes!
- The Diffie Hillman protocol requires finding an
element g that is a generator the
multiplicative group of prime number p. Here is a
proposed algorithm for finding a generator g:
Test each element x of Zp* as follows.
Raise each element to the power Phi(p). If
xPhi(p) = 1 mod p
then x is a generator. Why WON'T this work? (Hint:
experiment with Z7*). Your
answer should cite a theorem.
- Since the previous algorithm won't
work, we have to find the lowest power y to which
x can be raised such that:
xy = 1 mod p
Consider the following revised algorithm:
Test each element x of Zp*
and each even divisor y of Phi(p) as follows.
Raise x to the power y. If the lowest y
for which
xy = 1 mod p
is Phi(p), then x is a generator.
Why DOES this work? In particular, why is it okay
to ONLY look at y's that evenl;y divide Phi(p)? Your
answer should cite a theorem.
|