 
 
 
 
 
 
 
  
 and
and  and encrypt the single letter ``X''.
 and encrypt the single letter ``X''.
 and
 and  : Let
: Let  ,
,  , so
, so 
 .
.
 :
:
 
 : We choose
: We choose  .
.
 
 solves 
the equation.
 solves 
the equation.
The public key is  .  So
.  So 
 is
defined by
 is
defined by
 
Next, we encrypt the letter ``X''.  It is encoded as the number
 , since X is the
, since X is the  th letter of the alphabet.
We have
th letter of the alphabet.
We have
 
To decrypt, we compute  :
:
