Obfuscated Email

I want you guys to know that I have read all fifteen entries… Some
of the code had me confused at times, but with persistence, I managed
to figure out everything that was presented.

And, of course, you now see that my brain hurts from reading Mikael’s
stuff, I didn’t realize I had reviewed eighteen entries, not
fifteen. I must be blocking out Mikael’s three entries.

Seriously… It’s Mikael’s stuff that now makes me realize I could
confused the heck out of people by writing:

%%%c%%%%%%

when I mean:

“%”

Ouch.

Seriously… It’s Mikael’s stuff that now makes me realize I could
confused the heck out of people by writing:

%%%c%%%%%%

when I mean:

“%”

Arg… I meant %%%c%%%%%%[0] or even %%%c%%?%

After reading the summary, I realize I might have gone a bit over-
board on the obfuscation, and must offer my deepest apologies.

As such, I would like to display my utmost disregard for the mentioned
medical consequences, and quickly decompose a short snippet of code
Matthew mentioned:

*a=e=?=,???,:??,?,Email

Allow me to add some explanatory whitespace and bracing:

*a = (e = ?=), (!?? ? ?, : ??), (?,), Email

Almost all of the question marks are character literals literals; I
resolve:

*a = (e = 61), (!63 ? 44 : 63), (44), Email

The tertiary conditional is, of course, completely unnecessary, but it
gave me the possibility of writing ???..:…, so I think it’s
justifiable.

e is assigned ?= simply because it made it harder to decipher.

The content of a is, in the end, [61, 63, 44, Email] (actually, Email
is .downcase!'d, but that’s irrelevant). The first three elements in
the array is all that’s used, I could just as easily have made the
last comma a semi-colon, but I don’t like them.

Hope that shed some light on the matter.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew M. wrote:
|> Seriously… It’s Mikael’s stuff that now makes me realize I could
|> confused the heck out of people by writing:
|>
|> %%%c%%%%%%
|>
|> when I mean:
|>
|> “%”
|
| Arg… I meant %%%c%%%%%%[0] or even %%%c%%?%
|
|

I’ve seen a C ‘Hello World’ program using such a technique.

It was a winning entry in the Obfuscated C Contest, curiously enough.


Phillip G.
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ It’s psychosomatic. You need a lobotomy. I’ll get a saw.
– Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg0b8YACgkQbtAgaoJTgL9dYQCcDVLuyDz3S7phD7BQHXJq3TWy
6ZEAn1x/OIZF1Na8i/4oMjPf/7xd6N80
=6jd0
-----END PGP SIGNATURE-----