I want to prevent users tampering with the the data generated in my iPhone app, such as high scores. So I'm thinking of using an MD5 hash of the relevant data, and a security salt hard coded into the app. When the data is read back in, I create a new hash and compare it to the old hash. If there's a difference, I know someone has been fiddling with the data.
I'm guessing there's always going to be a way for people to get round it, but will this method make it;
- Very difficult.
- Tricky to work around.
- Makes no difference at all.