TCPObject encryption on the iPhone
by Justin Mosiman · in iTorque 2D · 09/29/2009 (6:37 pm) · 1 replies
Hey,
I have my game almost complete and am working on implementing a high score board. I have the TCPObject code written and it posts to my database just fine. However, I am not using any encryption and it is easy to sniff packets and then adjust your score from that. With that in mind, what type of encryption would you recommend? I have seen AES mentioned on the forums before, is that still relevant on the iPhone? Any other suggestions?
Thanks,
Justin
I have my game almost complete and am working on implementing a high score board. I have the TCPObject code written and it posts to my database just fine. However, I am not using any encryption and it is easy to sniff packets and then adjust your score from that. With that in mind, what type of encryption would you recommend? I have seen AES mentioned on the forums before, is that still relevant on the iPhone? Any other suggestions?
Thanks,
Justin
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
how complex the encryption is and what you use to generate the checksum is up to you.
Also how you generate the encryption keys (RSA for example, let the server generate one for each session)
I guess though the general answer is: why not use Scoreloop or OpenFeint, where people can challenge others etc adding much more use to the highscore then just "looking at it"