The moose likes Java in General and the fly likes encrypting a file before sending to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "encrypting a file before sending to server" Watch "encrypting a file before sending to server" New topic

encrypting a file before sending to server

guru naan

Joined: Feb 21, 2002
Posts: 6
Hi there,
I have a simple client/server program that I wrote and I know wish to add an encryption layer to the program which will encrypt a file before sending to the server. Once it reaches the server the server will decrypt it and store it. Do I need to download JCE or similar to use DES in java.? Has anyone got any pointers or advice about this? Thanks
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
Well everything depends on what you want to do !
If you prefere to have things encrypted but there is really a need to KISS (Keep It Simple & Stupid) why not simply use HTTPS to post your text ?
I would suggest you to look at the tutorial on java world about a simple HTTPS client !

Thomas Smets
Just another developper
subject: encrypting a file before sending to server
Similar Threads
FTP(File transfer)
Web file association problem
tracing post parameter
Struts 2 | Last modified date of an uploaded file
how to use cryptography providers(flexicore) in web-server, i.e.Tomcat ?