如何编译wxsqlite3和sqlite以获得加密支持 [英] How to compile wxsqlite3 and sqlite to get encryption support

查看:117
本文介绍了如何编译wxsqlite3和sqlite以获得加密支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从事基于wxWidgets的c ++项目。使用wxSqlite3访问sqlite数据库,它工作正常。但是我想为数据库添加一些加密,这里我有通过wxSqlite3访问加密数据库的问题。据我所知,sqlite默认不支持加密,但wxSqlite3以某种方式包含加密功能。有谁有经验,分享他们的知识和实践,如何编译sqlite和wxSqlite3,以便能够访问加密功能。谢谢提前。

解决方案

wxSQLite3附加的加密扩展是开源的,并提供AES-128或AES-256加密在编译时选择)。可以通过 here 找到如何编译具有加密支持的SQLite的指导。 / p>

I'm working on a c++ project based on wxWidgets. Using wxSqlite3 for accessing sqlite database, and it is working fine. But I wanted to add some encryption for database, here I have problems with accessing encrypted db via wxSqlite3. As far as I know, sqlite doesn't support encryption by default, but wxSqlite3 somehow included encryption functionality. Could anyone who has experience, share their knowledge and practice on how to compile sqlite and wxSqlite3 in order to be able to access encryption functions. Thanks in advance.

解决方案

The encryption extension coming with wxSQLite3 is open source and offers AES-128 or AES-256 encryption (to be chosen at compile time). Guidance how to compile SQLite with encryption support can be found for example here.

这篇关于如何编译wxsqlite3和sqlite以获得加密支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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