In the Human Identifiable code that i have for authentication on my site, I have obsfucated images A-Z & 0-9 with each character a seperate image that is not OCR. The idea is that a person reads the code, and the server parses it. Currently i have the perl program copy a random string of images that have these characters on it into a folder with the same name as the authenticating user's session id. The images are renamed when copied to denote their order (not what the represent).

It works, but i would rather generate obsfucated images on on the fly since I am using the same 36 images which can be cached & saved by an individual, who can note which image correlates to which character and then make a program to run comparisons on the images pixels to bypass the human readable code.

Anyone know how to do this? I saw an attempt on an old png image generation (in cpan i belive) but it looked like it was possible to OCR it from what i saw. Ty in advance.

Here is a refence to what i am talking about (when you sign up for yahoo mail): http://xrl.us/c69p (Link to edit.yahoo.com)

BTW: I am using a Win32 based system (not by choice) with activestate perl.

edit (broquaint): shortened 'page-widening' URL + linkified it


In reply to How do you make on the fly images? by Avitar

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.