RSA Encryption Example
RSA encryption is a public key encryption system. The idea is that each user in a network protected protected by an RSA encryption scheme has a public encyption key (like a phone number or email address), and a private decryption key (like the password to an email account). When Bob wishes to send Alice a message securely, Bob looks up Alice's public encryption key and encodes his message. He then transmits the cyphered text to Alice you decrypts it with her private key.
The program is pretty simple to use. Just download the .zip file, extract it, and open the project folder in the NetBeans IDE. Then just run it. Set the number of bits to use in the encryption (an indication of the strength of encryption), and click the "Compute RSA Values" button, this will find all the key numbers to use when encrypting and decrypting. Type a short message in the box, click the ">>>" button to put the text into the decryption box and click decrypt. Your message should appear in the box above. If garble appears, then your message was too long, either shorten your message, or increase the number of bits.
