HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Encryption ideas?

09-26-2003, 08:50 PM#1
Oinkerwinkle
Does anyone have an idea for an encyption method that I can layer on top of what I'm already doing? Here's what I do so far...
  • Convert variables to a long chain of binary
  • XORify a version of the player's name on top of that
  • Cut the binary into 6 bit sections, which are converted to characters
That was, each character doesn't coorespond with exactly one stat, making simple character replacement much less appealing. The ultimate goal of this is to make things too complicated for a person to just go through the .J and create their character.
09-26-2003, 09:03 PM#2
weaaddar
as far as I know there is no xor function in war3. Some guy made a 1 way xor function encryptor (read: worthless), if you have made a 2 way xor function I will be much intrested to see how you did it.
09-26-2003, 09:18 PM#3
Aiursrage2k
Here is an xor encryption method...

http://www.seiken.co.uk/cot/cotforum...t=ST&f=7&t=54&
09-26-2003, 09:22 PM#4
weaaddar
A xor function which uses your name as the key with a byte splitter can actually be a very good encryption.
09-26-2003, 10:00 PM#5
Oinkerwinkle
I've already done all the stuff I listed without a problem. It's just a binary XOR type thing:
Code:
function XOR takes string bit1, string bit2 returns string
    if bit1==bit2 then
        return "0"
    else
        return "1"
    endif
endfunction
09-26-2003, 10:44 PM#6
sweet5
hey that looks like VB code! i reconzied it from my programming class : )
09-26-2003, 11:12 PM#7
Oinkerwinkle
Yup, it's kind of a mix between Basic and C. With a bunch of extra functions for dealing with the actual map.