Back to the Web Developer's Journal Main Page
internet.com
side nav bar
Java & JavaScript Discussion Group

We have recently moved our discussion groups to new and better software. The old messages are archived here but you should probably check out the new ones.

WDJ Mailing Lists
Discussion Groups Book Reviews Software Reviews Download Web Tools

how to encrypt data with JDK 1.1?

From: Mike Manion
Category: Category 1
Date: 27 Oct 1998
Time: 17:04:42
Remote Name: 199.174.225.10

Comments

I am developing a Java application using JDK 1.1.6. One of the things the application does is generate an HTML page with a form on it, which POSTs to a CGI on another server.

The form has several INPUT tags on it that are TYPE=HIDDEN. We want to encrypt the data that is in the VALUE fields of these tags, so that the user cannot tamper with them.

It seems to make sense to use a secret-key decryption algorithm (DES was our first choice), and then the CGI that received the data could just decrypt it using a key we provide them with.

My question is, is there a simple way to do this? I have heard about Sun's JCE package, but I think it only works with JDK 1.2! Can anyone confirm this? Better yet, could anyone PLEASE offer any suggestions as to how the data could be encrypted easily using JDK 1.1?

Thanks, Mike Manion mmanion@us.ibm.com

Sadly, neither Web Developer's Journal, Markland Communities, Inc., Paige Turner nor anyone else associated with sponsoring these discussion groups can in any way be held responsible for any advice given here. The great unwashed masses of the public Internet hang out here and freely offer advice to all who seek it and some who don't. Take any advice received here with the proverbial grain of salt.
Last changed: October 27, 1998

Back to the Web Developer's Journal
Contact WDJ   •    Suits!   •    Propheads!   •    Ponytails!
Discuss   •    Subscribe   •    Search