wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes Doubt in online project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Doubt in online project" Watch "Doubt in online project" New topic
Author

Doubt in online project

pramod jairam
Greenhorn

Joined: Mar 11, 2012
Posts: 1
Hi, I am relatively new to programming. My problem/jargon may sound silly, so i apologize in advance. Currently i am working with couple of friends on a project titled ' Online voting system using steganography and cryptography'. We are using hash function on Voter ID and hiding it in an image( ie we generate the stego image). We will be keeping one computer terminal as server and other terminals connected via LAN will act as clients. The client will access the system using url. The entire code is on server only.

We have completed almost all the project but there is a major blip. When the url is entered on client side, the voter can view the login page(written using JSP) , where he enters his details. As of now, we are just passing the details to the server where it generates the stego image and again there itself does the decryption and extracts the ID from image and does authentication. But obviously, it is expected that the stego image be created at the client side and then sent to server for authentication.

So, my query is how can i generate the stego image on the client side itself ? Will it require running a part of code on the client itself ? I will be really grateful if someone guides me on this.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

pramod jairam wrote:So, my query is how can i generate the stego image on the client side itself ? Will it require running a part of code on the client itself ? I will be really grateful if someone guides me on this.


You have to execute software on the client. Period. No choice there.

You do have choices of what language to use to implement it. And which technique you use to communicate between client and server. I strongly suggest that you not use RMI or Corba, but rather use a simple message passing approach such as REST.

I also strongly recommend that you use something other than Java Applets.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in online project