Buy Brownie Points
Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Civil Discussion
Switch to Role-Playing Civil Discussion

Viewing a Post

markchd

Avatar: 12369 2010-01-24 16:26:11 -0500
18

[Brainfreeze]

Level 69 Camwhore

Craves Power like it's Crystal Pepsi

Skyreal Posted:

Easiest thing to “try”


Apologies,
I meant that before anyone mentioned XOR, my brain just thought try inverting the binary. I didn’t have any knowledge of programming, so that was as far as my “cryptanalysis” went. Basically I got plain lucky.

I’m a bit curious what prompted MrThePlague to use XOR and to XOR “each bit” by 255. Did he try other values as well, or did he try XOR by 255 because he, unlike myself, knew that that was the fastest way to invert the binary.

Clearly, knowing what I know now, and with the code already posted, using ruby is far easier.
markchd edited this message on 03/02/2008 2:24PM
Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!