Next: A Bigger Example in
Up: Examples
Previous: Examples
  Contents
So the arithmetic is easy to follow, we use small primes
and and encrypt the single letter ``X''.
- Choose and : Let , , so
.
- Compute
:
- Randomly choose an
: We choose .
- Solve
Using the GCD algorithm, we find that solves
the equation.
The public key is . So
is
defined by
Next, we encrypt the letter ``X''. It is encoded as the number
, since X is the th letter of the alphabet.
We have
To decrypt, we compute :
William A Stein
2001-10-01