p and
q.n = p * q and
x = (p-1)*(q-1)x and
call it d. This means that
d is not a prime factor of
x or a multiple of it.e 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 17: Encryption #2 -- Public Key Systems | Copyright © 2003 P.Scott, La Trobe University Bendigo. |