Reputation: 31
Is there a way to perform encryption of the entire Sqlite db in Android. I wish to decrypt the entire db file when the app is launched and encrypt it when the app goes to background or when you log out. Is there a way to implement this using Java Crypto libraries? How is the performance like?
Edit: I would be interested in using SEE ( Sqlite encryption Extension), or java crypto libraries. Sqlcipher is not an option for me. Thanks guys!!
Upvotes: 3
Views: 638
Reputation: 5857
SQLCipher has a port for Android that will probably answer your needs.
It provides 256-bit AES encryption of database files.
Upvotes: 0
Reputation: 3191
Actually, doing some research I found this: Sql Cipher
The page includes a tutorial, but you can find another [good] one here too: Android Tech
Hope it helps !
Upvotes: 1