Publickey Cryptography

RSA Interactive Demo


Please read the instructions before lodging the RSA interactive applet

First you need to enter two  primes P and Q in the text boxes provide.  

Next enter E

To Encrypt enter plaintext in plaintext text box and click on encrypt

To Decrypt enter ciphertext in ciphertext text box and click on decrypt

To see the explanation check the explanation check box. You can see one round of the last performed action (encryption/decryption)

You can also change P, Q, or E at anytime by just clicking on the corresponding text box.