7 small numbers, and a username? Your data sounds pretty small.

Perhaps you could create a one time pad on the server (assuming you have a source of true randomness, like /dev/random under Linux), then pass in the index number of the one time pad in plaintext, and the encrypted data. That's the "most perfect" form of encryption, but generating and transmitting a one time pad is cumbersome.

Since you're maintaining the one time pad file on your own web server, you don't need to transmit it. Generating it may or may not be practical: you need a source of true randomness. You also need some way to keep it from getting too big or too slow: by using the byte offset for your index, you could speed up lookups, but you'ld need some way to periodically trim the file, or it will get too big.

It's just a thought. You'll have to examine for yourself whether it could fit your needs.

--
Ytrew Q. Uiop


In reply to Re: Storing encrypted data in url by Ytrew
in thread Storing encrypted data in url by infidel2112

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.