C, the
ciphertext, from P, the plaintext using the
secret key Kp, defined as
n concatenated with E.
To decrypt, simply replace
C := 1 begin for i := 1 to E do C := MOD( C * P, n ) end
E with
D and P with
C in the above algorithm. Exercise: implement
this in your favourite programming language, and prove it works...
[Previous Lecture] [Lecture Index] [Next Lecture]