iphone - Saving game score locally on iOS device...is security needed? -


do need store score hash, ie protect being edited/cheated user? newb knowledge, user unable view , manipulate locally stored data, plist files example. can elaborate?

[edit] i'm storing scores locally , periodically uploading them game center leaderboards. if device jailbroken i'd have security prevent scores being manipulated user. approach?

i this:

save in nsdictionary , convert nsdata object. comes cool part:

encrypt aes using class:
https://web.archive.org/web/20160806074714/http://iphonedevelopment.blogspot.com/2009/02/strong-encryption-for-cocoa-cocoa-touch.html

this military standard encryption return encrypted nsdata object. save file , read/write whenever necessary. i've had experiences class , user can't it.

much better storing in plain sight using nsuserdefaults.

give go!


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -