2

Is it possible to encrypt the whole database? I'm currently using AES 256 ECB encryption for field level encryption. I need to know if there is any good option for encrypting the whole database.

Krisztián Balla
  • 19,223
  • 13
  • 68
  • 84
shri
  • 23
  • 2

2 Answers2

2

Maybe this is what you are looking for:

SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files.

Source: Android database encryption

Community
  • 1
  • 1
Rockernaap
  • 143
  • 1
  • 7
2

You can also encrypt database with different available standard library.

we used below library it works very good..

One of them is : https://github.com/sqlcipher/sqlcipher

For Specific to Android : https://github.com/sqlcipher/android-database-sqlcipher

  • It turns out that this is the same project as https://guardianproject.info/code/sqlcipher, Guardian Project took Zetetic's SQLCipher and made SQLCipher for Android. Zetetic now maintains both. – Hans-Christoph Steiner Nov 06 '15 at 15:46