在SQLCipher Android中更改密钥

时间:2012-08-28 13:54:48

标签: java android sqlcipher

如何以编程方式更改Android中SQLCipher数据库的密钥?

2 个答案:

答案 0 :(得分:2)

您可以通过执行PRAGMA rekey命令重新生成数据库。可以找到更多信息here

答案 1 :(得分:0)

查看此网址

https://guardianproject.info/code/sqlcipher/

Android现在正式端口SQLCipher核心项目!更多信息:http://sqlcipher.net/sqlcipher-for-android/

源代码和二进制文件:https://github.com/sqlcipher/android-database-sqlcipher

相关问题