Hacker News new | past | comments | ask | show | jobs | submit login

If you base64 decode this

IThGMj4wS0gvR0M9PE5QQEEnMyxNIiFHJE1NVTdYSS5PTTdFT1FCVUtMLVBW Qj4nNkBUIDsqLUNTLjVCJS87IkwnT1E/LiZRI1E4ITlBLzBXNU5SNEgmVDM8 QFM0Ty4wLFAvL0ohNTUxQzU2Jy82LVEpN0gpSjs3NCE5Q1lXQlUwUVc1MUFX NDI7LUQnO09BSEI9WVdNRktOTTdLNkI+Pj5HIDtKS1YkSVY0I0pRPTtYVSY9 KyhZVEAqJykrJSIpIjcsI0ckWD4ySlRIIkAhUyw+VStUQVY/NiUpNFZVMis8 IylXMiU9VVFKSFI3WkI3S0A/QTMhIkkuP0pFMVJKQixYJSFGJz8+TD89WFgu JyRSJ1hYIlIoVEFVLlUwOjc0Oi4iQDlNOUVPSUdHOkM5Mj9LWilCMlkmPj1X M0otSiwmKFU4Jy9IJzc5WkFVQ1VFPFFAQ0tHOClYLDklPDs/T1BPS0hTPDAi WkRBQVVSOTIhKjxBR0ZNNypRNzwsMVI=

The first 5 characters are "!8F2>"

Those 5 characters represent the first "T". Another "T" won't necessarily result in the same code. Actually, the odds of ever seeing that code again for a "T" is low.




The message is:

DON’T FORGET TO DRINK YOUR OVALTINE

Seriously, don't downvote me. That's the decrypted message.


You are right. Congrats!! There is actually an exclamation point at the end, but close enough! send an email to erik@carwoo.com and we can figure out how to get you the $500. Also, if you would detail your solution...that would be awesome!


Here's a Ruby version of the solution that was posted to your blog: http://pastie.org/1390793


Here's a blog post that details my solution somewhat. Fun challenge for a lazy Sunday. :)

http://grack.com/blog/2010/12/19/solving-the-carwoo-code-bre...


Well.. I guess I'm too late, but as long as the solution isn't revealed, I'm still going to play just for the fun of it.

I have reason to believe that: "0KH/GC=" encodes "H" "<NP@A'3,M"!" encodes "E" ...


Finally...

[Do not read further if you want to solve it yourself]

1. The encoded string can be divided into groups of chars, each representing one (decoded) char. These groups occur every 5, 7, 11, and 13 chars. That is, chars 0-4 correspond to group 1, chars 5-11 correspond to group 2, etc. After the first 4 groups, the lengths repeat. Thus group 5 is chars 36-40.

2. As hinted in this thread, the space is of 59 chars, and there's an offset of 32. So, for each char in each group, subtract 32, sum them up, mod by 59. Add 32 to this result, and that's your decoded character ascii code.

Example: "!8F2>" corresponds to [33, 56, 70, 50, 62]. Subtracting 32 from each of those is [1, 24, 38, 18, 30]. The sum of those is 111. 111 % 59 = 52. Adding back the 32 offset, yields ascii code 84, corresponding to "T".


I had most of the pieces to this, but didn't make the leap to the variance in encoding length being a series of primes. Ah well, maybe next time.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: