20-CS-472 | Design and Analysis of Algorithms 2 | Winter 2011 |
---|---|---|
RSA: Public Key Encryption |
Background: see this description of RSA. Instructions: Enter a p and q in the appropriate textfields. Enter the encrypt key e. Hit return. The product appears as n and the decrypt key is shown as d. Enter a message in the textfield called "Message:". If the inverse of e exists, the message will be encrypted, as shown, and then d will be applied to decrypt it. Source code: RSA.java |