> Thanks Danny! > There is a prize involved, but no money. I mean users do not > pay for this. > > I'll take a look at the SHA-1 algorithm. > Of course hackers will be able to find the encryption string > by "decompiling" the SWF. > So I might need some code obfuscation, which I'm not a big fan of.
Be aware that once you're allowing for hackers getting into your game, just hacking into the server communication is not your only problem: they may find ways to cheat the game without touching that code. As a simple example: suppose you have a space invaders game with a function 'destroyShip', if they invoke this function they might be able to increase the score 'legitimately'. Look into the history of MMORPGs to see the number of ingenious methods hackers have found to cheat their way in (my favourite is the story of the rogue carpenters who held characters to ransom by building wardrobes around them) Danny _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com