webfiend wrote:
I'm new on the whole obfu thing, though (kinda the opposite of how I like to code)
Me too, there's a guy at work who write ALL his code ala-obfu... We joke about writing a parser for his code so others can help maintain it! Anyway, I put this together to use as a signature and it got mashed up because I didn't want to exceed that imaginary 4 line signature limit, so it really wasn't 'born' obfu. ;)
Are the values packed platform-dependent?
From my hazy understanding of templates, using the 'C' template just packs as an unsigned 1 byte integer, so long as the interger is within 1 byte everything is cool. But packing with a 'V' or an 'N' may actually produce more 'gibberish' free output regardless of the environment.
I would think they could come out as truly funky gibberish if I was using a significantly different environment.
To be honest I would not know as I have no environment other than Linux. This little piece of obfu was inspired by something I first read about pack() in the
Cookbook. I must admit my knowledge of pack() has not grown so much since then, (no real need to use it yet apart from silly party tricks), so webfiend++ for making me dig through the
Camel book some more!
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.