This is cute. I'm new on the whole obfu thing, though (kinda the opposite of how I like to code). Are the values packed platform-dependent? I would think they could come out as truly funky gibberish if I was using a significantly different environment.
Not a critique, just a question. Please, continue with the obfu-fun!
"All you need is ignorance and confidence; then success is sure."-- Mark Twain
| [reply] |
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!
| [reply] |