More precisely, this is the RSA system. We generate two large primes
and
(size of about 256 bits) and compute their product
. The RSA
system is then a block cipher in which the plaintext and ciphertext blocks
are integer between 0 and
. The value of
is public knowledge and
the enciphering key
is such that
. A message
block
is then enciphered as
. For large
, it
is generally accepted that, unless the factors of
are known,
is a one-way function and thus is very difficult to
determine
from knowledge of
,
and
. Since we know the
factors of
, we can compute
and
and then compute the
integer
such
. The reason why the
interceptor cannot find
is that the modulus of the equation is
unknown. Thanks to
, we can compute the plaintext (
).
is the secret deciphering key and the cryptogram
is deciphered by forming
.