Editor’s note: The puzzle code below relies on a peccadillo of Python which makes it version and compiler specific, amongst other things. This means you’ll probably get the wrong results. We do know, however, that the code works on Duck’s Mac, so we’re going to shift to a “cloud model” for solving it. Email Duck the code and the input data (if any) you want to use. If you’re on the right track, he’ll run it “in the cloud” and send you the results. If not, he’ll give you a hint or two to point you in the right direction.
It’s May, and that means it’s time for Australia’s biggest security conference, AusCERT2011, which takes place at the Royal Pines Resort on Queensland’s Gold Coast. The conference runs from Sunday 15 May 2011 to Wednesday 18 May 2011.
Once again, the Sophos stand is going to be the place to hang out.
We’ve produced another puzzle T-shirt in our acclaimed DecoDeme geek fashion range. The puzzle is just hard enough to take a bit of solving, but not so hard that it will distract you from the conference or the evening cocktail parties.
So if you’re attending the event, be sure to come by the stand and pick up your free T-shirt. (Don’t forget to wear it while you’re at the conference!)
You can have a T-shirt even if you don’t intend to solve the puzzle. But we suggest you do – and we’ll be giving out hints on the stand to help you along – because that will put you in line to win a cool 1/16th scale remote-controlled tank.
Solve the puzzle, attend my talk (just before afternoon tea on Monday in the Purple room), and you could walk out with the tank.
In fact, you could win two tanks. We’re also running a prize draw for a second tank. Winning the puzzle prize is clearly the more glamorous option, and will give you several minutes of fame amongst a modestly-adoring crowd of a modest size, but you may as well enter the prize draw as well. Think of it as backup.
If you’re planning to have a go at the puzzle, the source code of the T-shirt is given below to save you typing it in from the image above. (We’ve been a bit sneaky by making the text on the shirt itself very slightly different. We do want to see you on our stand, after all.)
But if you write code to solve this “pre-release” version, you should be able to re-use it to solve the puzzle on the shirt within seconds. So it’s worth putting in a little early research.
Oh. One more thing. We’ve got a bunch of funky-looking Naked Security T-shirts on the stand. But you’ll only know to ask for one if you’ve read this article.
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% | | | import-random!def-shrubbery( | | ni):!-p='ewigsacgtwdbdzaco'!-k | | =dict([[i,chr(97+i)]-for-i-in-rang | | e(26)])!-ra ndom.s | | eed(ni)!- random | | .shuffle (k)!-k=dict([[v,i]-for-i | | ,v-in-k.i tems()])!-c=''!-for-i-i | | n-range(l en(p)):-c | | +=chr(97+ k[p[i]])! | | -return-'http://sophos. com/an | | z/'+c+'.html'!#-Key-i s-a-fo | | ur-le tter- | | wor d-fro | | m-a--Monty--Python-- | | sketch!print(shr | | ubbery(key | | --))-- | | | %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%