flamel

You still have not explained what you want to do with this hidden number and how it is to be got back again. Who are you hiding this number from ? The legitimate user of your code (impossible without a trusted hardware platform) or evil hackers (encrypt number with password only known to user, implement crypto correctly (v.hard) ).

It does look like you want to re-implement some crypto from scratch in your code. This is a bad idea especialy as perl already has good crypto modules. Please see the Schneier book Fletch refers too and if you insist on going ahead read Applied Cryptography by the same author too.

If you do decide to implement your own then go and look at the source code for some of the crypto modules on CPAN although it does sound rather silly to make an error prone re-implementation of something you can pull down for free.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

In reply to Re^3: How to hide a number by Random_Walk
in thread How to hide a number by flamel

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.