in reply to Obfuscation: Text munging techniques
A few more ways to do it:
Just a few suggestions, hopefully they help more than hurt...
- Build functions that will create the text when given certain input. vis-a-vis this by jake.
- Fluff the text and weed out extraneous information a la this by gmax (which is the spoiler to this.)
- Use built-in or standard off-site strings to construct the string without actually showing which strings you're constructing from (two examples being here and here; caveat to those using eval to generate strings -- error messages are not necesarily ubiquitous).
- Format the text in an interesting way such as this obfu by Len.
- Just give the text (reasonably) straight-forward (like Dominus does here) because no-one can figure out what you're doing with it anyway :)
- trivially: you can bit-or, bit-and, or bit-xor the text to other text to hide what your original string is (ie this), just know that it's not a very good obfu technique by itself (there are much better examples of this one, i just don't have the time to search for one right now; it will hopefully be updated in the future...)
PS: please feel free to /msg me with what you think are better examples for any of the points above (i didn't spend too much time searching...)
Update: added a trivial case and moved around some text to make it more readable...