I'm developing an iOS game that needs to store the user's score. I don't want the user to be able to modify this score manually. Whats the best practice to doing this?
So far, I've thought of doing symmetrical encryption on the client side but it was brought to my attention that someone can decompile the key which is stored as plain text. I would like to stay away from using web services and keep it all on the client side.
PS - I am developing with Cocos2d-x in C++. If you have any library suggestions to implement your solution, that would be great!