I'm searching for a way to crypt all the data that I pass trough my CGIs, some like mycgi.pl?F$FK4lfkalwalwk4$4fla4kfal4aLk4flawñlawlkasdñfkaS$44F$4afS$Lkf
I've experimented with whis way:
Taking all the parameters string and a key string (That I only knows, and my perl decrypting routine, of course), I make a XOR logic operation between each character: The first char. of parameters string with the first char. of key string, and so on.
It runs nice, and the crypted string is so undeciphrable, but there has some problems:
Some XOR operations return numbers like 13 (Carraige Return), 7 (Escape code), etc.
I can't pass this special chars. to the parameters commandline of a CGI!
Any suggestions?