为Android源码加密源码、Android

2023-09-12 21:36:42 作者:Faith (信仰)

我在找很辛苦的可能性加密我在Android设备上SQLite数据库,但我was't能够找到一个满意的解决方案。

i'm looking very hard for a possibility to encrypt my sqlite database on Android devices, but I was't able to find a satisfying solution.

我需要的东西就像一个libary参考,才能有我的数据库的对飞的加密/解密,使用正常的SQLite的功能,而

I need something like a libary to reference, in order to have a "on the fly" encryption/decryption of my database, while using the normal sqlite functions.

我不希望数据存储之前进行加密。

I don't want to encrypt data before storing.

我不想加密整个databasefile,因此,在使用之前对其进行解密。

I don't want to encrypt the whole databasefile, in order to decrypt it before using.

我知道了以下项目:

查阅 wxSQLite SQLCipher SQLiteCrypt 牡丹 SEE wxSQLite SQLCipher SQLiteCrypt Botan

但我找不到任何工作示例这个东西。

But I can't find any working example for this stuff.

顺便说一句,我是绝对愿意购买商业版本,但我花了几百块钱之前测试IST。

Btw, I'm absolutly willing to purchase a commercial build, but I have to test ist before spending a few hundred dollars.

有没有人解决了自己的这个问题?

Did anyone solve this issue for his own?

编辑: 问题是由commonsWare解决,如果你按照他的链接: SQLCypher端口到Android 您可以下载neccesary文件和必须将它们添加到您的项目。这可能是这样的:

edit: question is solved by commonsWare, if you follow his Link: SQLCypher port to Android You will be able to download the neccesary Files and have to add them to your Project. This might look like this:

推荐答案

尝试 SQLCipher端口到Android 代替经常SQLCipher。

Try the SQLCipher port to Android instead of the regular SQLCipher.