Due: Monday, April 23
There are 5 problems. Each problem is worth 6 points
and parts of multipart problems are worth equal amounts.  You may work
with other people and use a computer, unless otherwise stated.  Acknowledge
those who help you.
 with
 with 
 to the equation
 to the equation
 
 ) are there
to the equation
) are there
to the equation
 
You may use that
 .
.
 such that the smallest primitive root
modulo
 such that the smallest primitive root
modulo  is
 is  .  (This requires a computer.)
.  (This requires a computer.)
 and
 and
 .  Nikita secretly chooses a number
.  Nikita secretly chooses a number  and tells you
that
 and tells you
that 
 .  You choose the random number
.  You choose the random number 
 .  What is the secret key?
.  What is the secret key?
 and
 and  with
 with  digits each,
but do not write them down on your homework assignment.  Instead,
write down
 digits each,
but do not write them down on your homework assignment.  Instead,
write down  . (Your answer to this problem is
. (Your answer to this problem is  .  The grader
will factor
.  The grader
will factor  using a computer and verify that indeed
 using a computer and verify that indeed  with
with  ,
, both prime.)
 both prime.)
 .  Compute the decryption key
.  Compute the decryption key  such that
 such that
 .  Do not write down
.  Do not write down  .  Instead
encrypt the number
.  Instead
encrypt the number  using
 using  , i.e., digitally
sign
, i.e., digitally
sign  .  Your answer is the number
.  Your answer is the number  modulo
 modulo  . 
(The grader will encrypt
. 
(The grader will encrypt  using your public key
 using your public key  ;
if the grader gets
;
if the grader gets  as the encryption, you get full
credit; otherwise no credit.)
 as the encryption, you get full
credit; otherwise no credit.)