How to encrypt android sqlite database?
14,424
Solution 1
Take a look to the SQLCipher project. It is an open source library that provides transparent, secure 256-bit AES encryption of SQLite database files.
The web site offers a tutorial for Android.
Solution 2
SQLCipher + user's password could be the right implementation. We need user's password to encrypt the db rather than using the hard-coded strings.
Author by
droidmachine
Updated on June 05, 2022Comments
-
droidmachine almost 2 years
I'm creating a 2d game for Android and i'm using sqlite database for storing game data.Rooted users can change database easily.So i have to encrypt the data and when someone change it i have to understand this.How can i do this?