aspose file tools
The moose likes Beginning Java and the fly likes Using Java To Implement RSA Algorithm Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Using Java To Implement RSA Algorithm" Watch "Using Java To Implement RSA Algorithm" New topic
Author

Using Java To Implement RSA Algorithm

Floetic Angel
Greenhorn

Joined: Feb 26, 2008
Posts: 9
Hi I'm looking for SOME advice on how to simulate the following:

http://i71.photobucket.com/albums/i140/carpinate/RSA.jpg

http://i71.photobucket.com/albums/i140/carpinate/RSA2.jpg


Ive done this so far:








I was looking to achieve what is shown in the 1st image.

I can get the numeric, P3, P3mod33, C7, C7mod33 to print out but not the symbolic information for some reason?

I want to be able to allow the user to enter in a string then the plaintext and ciphertext can be displayed.

Like this:

String input: SUZANNE

Output:

Plaintext: S U Z A N N E
Ciphertext: 28 21 20 1 5 5 26


Thanks.
 
jQuery in Action, 2nd edition
 
subject: Using Java To Implement RSA Algorithm
 
Similar Threads
I NEED TO DISPLAY A RESULTSET IN A JSP CORE TAG
Convert Into Java Code.
Using Java To Implement RSA Algorithm
tripleCut Solitaire Algorithim
Scanner class help