All the advice thus far given is good, however just to add my .04wassits. Before you look at the how, look at the what. Code obfiscation can be easily catagorised, there are various simple techniques. Judicious use of pack, (as has already been mentioned) using alternative substitution operators, using the ^? variables ;-) What is hard is comming up with the idea.. the what... If you look at other peoples japhs first you will (no matter how hard you try) reproduce what they have done. I would first of all sit down with a cup of java and try and work out what your japh is all about. To illustrate, a collegue of mine
frankus wrote a cool japh a while ago based upon the rot algorithm. He stored a string and rotted it to produce the kick. Now the algorithm was obfiscated and he stuck some other nasties in there but the idea was simple. Get your idea first, then look at other japhs to see how to implement it in a -nasty- way.
enjoy I look forward to seeing the result.
--
Zigster
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.