Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: A Sunday morning obfu

by iamcal (Friar)
on Jun 11, 2001 at 17:25 UTC ( [id://87463]=note: print w/replies, xml ) Need Help??


in reply to A Sunday morning obfu

a breakdown:
# # put two strings into @_. equivilent code: # # @_ = ( # "ll h4xorZ!!! 7o get 7t3 26th Zi6...\nU warEZ it, 3nt3r 63,79,256 +!\nY?? So wi7h 626 @ xp3r7, EZ Qui37!!!\n", # " pa5t s37 p01nter! R07FL!\ndont g8 32 bux! 00 i5 #2, c! 0!!\nor +you WILL g8 h48X0rD!\n^ZZ 2" # ); # @_= (q All h4xorZ!!! 7o get 7t3 26th Zi6... U warEZ it, 3nt3r 63,79,256! Y?? So wi7h 626 @ xp3r7, EZ Qui37!!! A,q U pa5t s37 p01nter! R07FL! dont g8 32 bux! 00 i5 #2, c! 0!! or you WILL g8 h48X0rD! ^ZZ 2U); # # filter out certain characters from $_[0]. equivilent to: # # @$ = grep {/[1337+256=H4X0R]/}split//, $_[0]; # # which is the same as: # # @$ = qw(4 7 7 3 2 6 6 3 3 6 3 7 2 5 6 7 6 2 6 3 7 3 7); # @$= &{sub{grep {/[1337+256=H4X0R]/} split//, $_[0]}}; # # do the same to $_[1]. equivilent to: # # @@ = qw(a 5 3 7 0 1 e 0 7 8 3 2 0 0 5 2 c 0 8 4 8 0 2); # @@= grep {/[f00-678=ace]/} split//, $_[1]; # # loop through the two arrays at once, getting a hex value for each # char by concatenating items from each array # print join '', map{chr hex} map{qq q$$[$_]$@[$_]q}(0..@$-1);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://87463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-06-14 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.