File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes encrypted parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "encrypted parameters" Watch "encrypted parameters" New topic

encrypted parameters

Lidia Cyc

Joined: Aug 05, 2003
Posts: 25

i've seen on some pages, that they use an encryption for the parameters delivered by GET. for example, i wanna request an url with a couple of parameters, something like this:

instead of seeing this explicit url you get this one:

from this i can understand that the parameters have been encrypted and the string which actually includes encrypted parameters passed as a parameter by itself.
as i also understand, the server gets this "code" parameter and knows how to get the encrypted parameters from it.
my questions are:
1. is there any common way this thing can be done in java?
2. i'm sure there are encryption classes, but if all this works the way i think, if encryption used we need to parse the unencrypted string of parameters and values with tokenizers or something, because there is no "request.getParameter("age")" way..

I agree. Here's the link:
subject: encrypted parameters
It's not a secret anymore!