采用Android SQLCipher - 你怎么可以解密? [英] Android using SQLCipher - how can you decrypt?
问题描述
我觉得这个问题已经被问,但是我尝试了好几种的例子无济于事。我的问题是这样的......我有一个Android应用程序安装使用SQLCipher数据库加密,它工作正常,在设备上。
I think this question has been asked, however I have tried several of the examples to no avail. My issue is this ... I have an Android app setup to use the SQLCipher DB encryption, which works fine, on the device.
在模拟器上测试,如果我下载使用DDMS的数据库文件,我怎么读取文件,检查表和数据?我已经使用命令壳SQLite3的尝试,以及依附的例子,但是我每次这样做的时候,我只是得到了以下消息错误:文件被加密的数据库。这无疑表明,加密是工作,但我怎么做我模拟器/月食以外正确DECRYPT?
In testing on an emulator, if I download the Database file using the DDMS, how do I read that file to check tables and data? I have tried using the command shell for SQLite3, and the ATTACH examples, however each time I do so, I just get the following message 'Error: file is encrypted or not a database'. This certainly shows that the ENCRYPT is working, but how I do I properly DECRYPT outside the emulator/eclipse?
我需要一个不同的SQLite的客户端?任何人都陷在这?
Do I need a different SQLite client? Anyone else get stuck on this?
我一用:SQLCipher为Android 2.0.8 2012年6月14日
I a using: SQLCipher for Android 2.0.8 06/14/2012
任何帮助吗?谢谢
推荐答案
正常的SQLite工具不包括SQLCipher。
The "normal" SQLite tools do not include SQLCipher.
您必须下载的烃源和的自己编译得到一个命令shell SQLCipher支持。
You have to download the souce and compile it yourself to get a command shell with SQLCipher support.
这篇关于采用Android SQLCipher - 你怎么可以解密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!