Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Brute Force JAPH

by davido (Archbishop)
on Sep 03, 2003 at 00:37 UTC ( #288468=obfuscated: print w/replies, xml ) Need Help??

The left hand doesn't know what the right one is doing in this JAPH. Fortunately computers are good for brute force attacks.

The obfuscation may be trivial to the resident experts, but the way it turns out when run was worth the fun of writing this JAPH.

Here it is:

@l=split??,q?Kvtu bopuifs Qfsm ibdlfs.?;while(!$s){for($s=0;$s< @l;$s++){if(!$m[$s]){$y=$c[$s]=chr int rand(92)+28;$y=~ y?A-Za-z?B-ZAb-za?;$m[$s]=$l[$s]eq$y?$i:0}}print++$i,qq?\t?,@c,$/; $s=$_?$s:0for@m}

Enjoy!!!

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein

Replies are listed 'Best First'.
Re: Brute Force JAPH
by ambrus (Abbot) on Oct 09, 2012 at 20:40 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://288468]
Approved by ybiC
help
Chatterbox?
LanX which means I can finally organize YAPC Asia in Sharm el Sheikh ;-)
[robby_dobby]: I attended a couple conferences (both in India). Left me with a renewed enthusiasm to do more, only to see it disappear in a few days!
[LanX]: Then come to YAPC EU in Amsterdam ...
[robby_dobby]: LanX: But that's in Africa! More like YAPC::Africa
choroba fears Amsterdam might fill him with enthusiasm to do nothing
[robby_dobby]: Uff, too expensive :-(
[LanX]: ... I found YAPC EU more entertaining (and international )than YAPC NA
[robby_dobby]: What's the site for YAPC::EU?
[LanX]: Robby Dobby no IIRC Sinai is already part of Asia
[robby_dobby]: blogs.perl.org page for yapceu is out of date by 2 years

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-04-24 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.