问题描述
我正在学习使用SQLite,如果可能,我很好奇:
I'm just learning to use SQLite and I was curious if such is possible:
-
加密数据库文件?
Encryption of the database file?
密码保护打开数据库?
PS。我知道有这个SQLite加密扩展(SEE),但根据文档SEE是许可软件....和SEE的永久源代码许可证的成本是2000美元。
PS. I know that there is this "SQLite Encryption Extension (SEE).", but according to the documentation, "The SEE is licensed software...." and "The cost of a perpetual source code license for SEE is US $2000."
推荐答案
SQLite内置了用于加密的钩子,在正常分发中没有使用,但这里有一些我知道的实现的:
SQLite has hooks built-in for encryption which are not used in the normal distribution, but here are a few implementations I know of:
- - 官方实施。
- - 一个wxWidgets风格的C ++包装器,也实现了SQLite的加密。
- - 自定义实现,修改过的API。
- - botansqlite3是SQLite3的加密编解码器,可以使用Botan中的任何算法进行加密。
- - SQLiteCrypto是通过AES-256和SHA-256加密Sqlite数据库的更简单的方法
- SEE - The official implementation.
- wxSQLite - A wxWidgets style C++ wrapper that also implements SQLite's encryption.
- SQLCipher - Uses openSSL's libcrypto to implement.
- SQLiteCrypt - Custom implementation, modified API.
- botansqlite3 - botansqlite3 is an encryption codec for SQLite3 that can use any algorithms in Botan for encryption.
- SQLiteCrypto - SQLiteCrypto is The Easier Way To Encrypt Sqlite Database By AES-256 and SHA-256
SEE,SQLiteCrypt和SQLiteCrypto需要购买许可证。
The SEE, SQLiteCrypt and SQLiteCrypto require the purchase of a license.
披露:我创建了botansqlite3。
Disclosure: I created botansqlite3.
这篇关于SQLite加密/密码保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!