HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Save load Code stuff

04-28-2006, 05:29 AM#1
Immoralis
I decided to encrypt my save load code by taking the cross product of it with a 12 by 12 matrix, I was thinking that assuming people had access to the j file, this matrix would be easy to find out. So for the matrix would it be a good idea to take the integer values of some random abilities and units and turn it all to integers and make a matrix out it? This would be harder to break than just a string or integer array.
04-28-2006, 05:33 AM#2
emjlr3
i really doubt anyone who cared that much would really be able to pull off such a feat...taht just my 2 cents
04-28-2006, 05:37 AM#3
PipeDream
The cross product is only defined over vector spaces of 3 and 7 dimensions, so I have no idea what you're talking about. Security is logically impossible. No one is going to try to reverse engineer your scheme no matter how simple it is, they will simply replicate the whole box. You just need a decent hash such that people who aren't trying to cheat, when they make a typo, won't accidentally get wacked out attributes. A key sort of thing to make it easy to break codes between versions is also nice. Finaly, some trivial obfuscation if you want to hide what is stored in the code can be nice. Trying to stop people who can read war3map.j, though, is futile.

To below: That's called matrix vector multiplication, dot product or tensor contraction.
04-28-2006, 05:37 AM#4
Immoralis
my a paronoid friend made a 35 digit save load to store 9 digits of info

edit: cross prduct is where u mutiply a matrix by a vector i have no idea where u are getting that 3 and 7 stuff