SQLite加密/密码保护 [英] SQLite with encryption/password protection

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

问题描述

我正在学习使用SQLite,如果可能,我很好奇:

I'm just learning to use SQLite and I was curious if such is possible:


  1. 加密数据库文件?

  1. 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:


  • SEE - 官方实施。

  • wxSQLite - 一个wxWidgets风格的C ++包装器,也实现了SQLite的加密。

  • SQLCipher - 使用openSSL的libcrypto来实现。

  • SQLiteCrypt - 自定义实现,修改过的API。

  • botansqlite3 - botansqlite3是SQLite3的加密编解码器,可以使用Botan中的任何算法进行加密。

  • SQLiteCrypto - 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加密/密码保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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