Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

encrypted parameters

 
Lidia Cyc
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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:

http://www.blabla.com/?user=who&age=99&whateveruwant=ucanget

instead of seeing this explicit url you get this one:

http://www.blabla.com/?code=033A23C9430D34590AAA345F2344

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..

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic