为Android源码加密 [英] sqlite encryption for android

查看:134
本文介绍了为Android源码加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在找很辛苦的可能性加密我在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.

我知道了以下项目:

  • 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.

这篇关于为Android源码加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆