$_="+21P-A6-d-.+i-51-12+V-#+22-;-L+6-2-H+6-21+R+3-5-13+T-12"; s/[#.A-Wild;]/ord$&/eg;while( /[-+]\d+/g ){ @a or @a=($&) and next; unshift @a, map {($_+$&)/2 => ($_-$&)/2} pop @a; } print map chr, @a;

Edited by Chady -- added code tags

Replies are listed 'Best First'.
Re: Good Obfuscation
by jdalbec (Deacon) on Jan 29, 2005 at 02:42 UTC
    ObCanonical-JAPH-version:
    $_="+2\"0->6+w-43-28-Q-20-5+K+g+1+f-1/-13-8+7+L-13-48-13+12-1-A-1-43"; s/[">\/A-wild;]/ord$&/eg;while( /[-+]\d+/g ){ @a or @a=($&) and next; unshift @a, map {($_+$&)/2 => ($_-$&)/2} pop @a; } print map chr, @a;
    Create your own messages:
    my @a = map ord, split //, "<your message here>"; my @b; while(@a){ $#a or unshift @b, @a and last; my $c = shift @a; # ($_+$&)/2; my $d = shift @a; # ($_-$&)/2; unshift @b, $c - $d; # $& push @a, $c + $d; # $_ } unshift @b, undef; $_ = join "+",@b; s/\+-/-/g; s/[3-9][0-9]/($&>=32&&$&!=43&&$&!=45&&$&<48||$&>=58?chr $&:$&)/eg; s/1[0-2][0-9]/($&<127?chr $&:$&)/eg; print "$_\n";
Re: Good Obfuscation
by zentara (Cardinal) on Jan 27, 2005 at 12:54 UTC
    I get about 5 "Wide character in print at " errors.

    I'm not really a human, but I play one on earth. flash japh