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?

In reply to Some way to crypt my CGI parameters by loren

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.