aspose file tools*
The moose likes Security and the fly likes help with data encryption/decryption & computing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "help with data encryption/decryption & computing" Watch "help with data encryption/decryption & computing" New topic
Author

help with data encryption/decryption & computing

Ed Stevens
Ranch Hand

Joined: May 06, 2008
Posts: 38
I am an E.C.E student ,i want to make a project on data encryption/decryption making use of ciphers first & then moving on to A.E.S & Triple DES programs.I am a novice in JAVA & have a very little programming background ,please help me with the topics i need to read -to make these programs-cause time is short about 25-30 days.

I have also taken up one Virtual Network Computing project-which i need 2 present after my summer holidays-Here i need to control a client computer from a server by updating the desktop image there along with performing keyboard & mouse events.

Please tell me the books I need to refer for programming help..Many thanks.. :roll:


<a href="http://foureyedmonsters.com/neutrality/" target="_blank" rel="nofollow">http://foureyedmonsters.com/neutrality/</a><br /><a href="http://www.netcharles.com/orwell/ctc/" target="_blank" rel="nofollow">http://www.netcharles.com/orwell/ctc/</a>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41820
    
  62
Are you supposed to program the encryption routines yourself? If not, have a look at JCE, the Java API for encryption. Several links and introductions can be found in the http://faq.javaranch.com/java/SecurityFaq


Ping & DNS - my free Android networking tools app
Ed Stevens
Ranch Hand

Joined: May 06, 2008
Posts: 38
no,i am not expected to do everything on my own -assistance is permitted-i am supposed to understand the concepts thoroughly & deliver a presentation later (sometime in august).

I also need assistance on the other project as well- the 2nd one -where i have to perform desktop events on the client m/c as follows..

The sever starts execution and waits for a connection with some client. When the client starts, it requires the I.P. address of Server/ Remote machine. After getting the I.P. address the connection between and remote machine is established.

First the server captures the desktop and sends to client with some processing.
The client receives image and displays it & so, the user can see the remote machine desktop.

Now when user does some operation- events are created which are then transferred to the server side. The server receives these events & so, whatever user does at the client side is reflected at the sever side. The server sends back the new desktop after some changes to client side.

These images are sent after specific time intervals and update the client about the server´┐Żs desktop status.

Controlling the remote machine includes:
Capturing Desktop,
Mouse Handling,
Keyboard Handling.

Any help will be appreciated...
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18829
    
  40

no,i am not expected to do everything on my own -assistance is permitted-i am supposed to understand the concepts thoroughly & deliver a presentation later (sometime in august).


That wasn't the question that was asked. Ulf wanted to know if you have to actually implement the encyption code yourself. AES and Triple DES are already part of the core Java library -- and hence, doesn't actually have to be implemented.

However, if this assignment is a homework question, then I highly doubt that your professor would like it if you submit a 10 line solution that simply calls the built in library.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Ed Stevens
Ranch Hand

Joined: May 06, 2008
Posts: 38
That wasn't the question that was asked. Ulf wanted to know if you have to actually implement the encyption code yourself. AES and Triple DES are already part of the core Java library -- and hence, doesn't actually have to be implemented.

However, if this assignment is a homework question, then I highly doubt that your professor would like it if you submit a 10 line solution that simply calls the built in library.

Henry[/QB]

OK i understand your point-but i am not sure either-may be i should work it out myself but since we have not had any course on Java ,i want to know what topics i need to read in order to work it out on my own.Also,what resources should i consult.Please help me with my other project as well-specifically about what really i need to lay my focus on...Thanks..
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4655
    
    5

First, write your code to use a plug-in crypto library.

Second, write a no-op library that does not encrypt, just leaves the cleartext alone. Make sure that you can do all the functions you need server to server using the no-op.

Third, use a trivial cipher, say ROT-13. Make sure all that tests.

Fourth use your first real cipher, make sure it passes all tests

Fifth: repeat with all other ciphers.
Ed Stevens
Ranch Hand

Joined: May 06, 2008
Posts: 38
Thanks,i will follow your method shortly after i finish reading William Stallings Network Security book & mastering the Java constructs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with data encryption/decryption & computing