3..
- This problem concerns encoding phrases
using numbers using the encoding of Section 3.2.2.
What is the longest that an arbitrary sequence of letters (no spaces)
can be if it must fit in a number that is less than
?
- Suppose Michael creates an RSA cryptosystem with a very large
modulus
for which the factorization of
cannot be found
in a reasonable amount of time. Suppose that Nikita sends
messages to Michael by representing each alphabetic character
as an integer between 0
and
(
A
corresponds
to
, B
to
, etc., and a space
to 0
),
then encrypts each number separately
using Michael's RSA cryptosystem. Is this method secure?
Explain your answer.
-
For any
, let
be the
sum of the divisors of
; for example,
and
.
Suppose that
with
,
, and
distinct primes. Devise
an ``efficient'' algorithm that given
,
and
, computes the factorization of
. For example, if
, then
,
, and
, so the input to the algorithm
would be
and
and the output would be
,
, and
.
- You and Nikita wish to agree on a secret key using
the Diffie-Hellman key exchange. Nikita announces that
and
. Nikita secretly chooses a number
and tells you
that
. You choose the random number
. What is the secret key?
- You see Michael and Nikita agree on a secret
key using the Diffie-Hellman key exchange. Michael and Nikita
choose
and
. Nikita chooses a random number
and
tells Michael that
, and Michael chooses a
random number
and tells Nikita that
. Brute
force crack their code: What is the secret key that Nikita and
Michael agree upon? What is
? What is
?
-
In this problem, you will ``crack'' an RSA cryptosystem.
What is the secret decoding number
for the RSA
cryptosystem with public key
?
- Nikita creates an RSA cryptosystem with public key
In the following two problems, show the steps you take to factor
.
(Don't simply factor
directly using a computer.)
- Somehow you discover that
. Show how to use the
probabilistic algorithm of Section 3.3.3 to
use
to factor
.
- In part (a) you found that the factors
and
of
are very close.
Show how to use the Fermat factorization
method of Section 3.3.2 to factor
.
William
2007-06-01