This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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!