Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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}



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

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://288468]
Approved by ybiC
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2015-11-25 19:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (686 votes), past polls