Awh man, i know rightly one of the projects i'm working on now, i took a short cut and made a GIANT security breach. BUT i know i'll have to go back and fix it, then add encryption to the variables i send. Personally speaking though it kind of annoys me the fact i have to do all this extra work just because people want to hack games :/
Random Algarithm for encryptions, change each number for a letter, then from the string they create you can pull out the information.
Also for each Data you send you can add false data, even though this clouds up the amount of stuff you send, it will decrease the chances of anyone de-crypting your code.