开发者

How to encrypt SQLite DB using SQLiteCrypt

开发者 https://www.devze.com 2023-03-29 02:00 出处:网络
I wanted to ecrypt the db file that i am storing on the sdcard. I have looked into SqliteCrypt library for serving my purpose but its using C libraries to perform the encryption/decryption.

I wanted to ecrypt the db file that i am storing on the sdcard. I have looked into SqliteCrypt library for serving my purpose but its using C libraries to perform the encryption/decryption.

I would like to know if anyone has successfully included the library in their project? If yes, please guide me through the process. Any guidance or any samples will be of great help.

Edit : Anyway, it's much more simpler to implement encryption yourself based on plain Java. It's not difficult – @barmaley

I want to encrypt the whole db file as single unit. Not individual data fields. Please let me kno开发者_StackOverfloww if there is any alnerate mechanism to achieve this.


Try using SQLCipher for Android.


try to use SqlcryptSDK

it is my project, i use android source code and add encrypt method in it.finally build the sdk and demo;

0

精彩评论

暂无评论...
验证码 换一张
取 消