p
and
q
.n = p * q
and
x = (p-1)*(q-1)
x
and
call it e
. This means that
e
is not a prime factor of
x
or a multiple of it.d
such that
e * d = 1 mod x
.P
falls into the interval
0 <= P < n
.
This can be done by dividing it into blocks of
k
bits where k
is the
largest integer for which
2k < n
is true.
To encrypt:The public key, used to encrypt, is thus:C = Pe (mod n)
To decrypt:P = Cd (mod n)
(e, n)
and the private key, used to
decrypt, is (d, n)
) Lecture 18: Encryption #2 -- Public Key Systems | Copyright © 2005 P.Scott, La Trobe University Bendigo. |