previous | start | next

RSA

In 1978, Rivest, Shamir and Adleman of MIT proposed a number-theoretic way of implementing a Public Key Cryptosystem. Their method has been widely adopted. The basic technique is:
 

 
To use this technique, divide the plaintext (regarded as a bit string) into blocks so that each plaintext message 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: C = Pe (mod n)
To decrypt: P = Cd (mod n)
The public key, used to encrypt, is thus: (en) and the private key, used to decrypt, is (dn))
 
Lecture 18: Encryption #2 -- Public Key Systems Copyright © 2005 P.Scott, La Trobe University Bendigo.


previous | start | next