Encrypting SQLite Database file in iPhone OS

You cannot trust the client, period. If your standalone app can decrypt it, so will they. Either put the data on a server or don’t bother, as the number of people who actually crack it to enhance stats will be minuscule, and they should probably be rewarded for the effort anyway!

Put a string in the database saying “please don’t cheat”.

Leave a Comment