问题描述
我正在开发一个基于wxWidgets的c ++项目。使用wxSqlite3访问sqlite数据库,它是工作正常。但我想为数据库添加一些加密,这里我有通过wxSqlite3访问加密数据库的问题。据我所知,sqlite默认不支持加密,但wxSqlite3某种程度上包括加密功能。任何有经验的人,分享他们的知识和实践,如何编译sqlite和wxSqlite3,以便能够访问加密功能。提前感谢。
wxSQLite3附带的加密扩展是开源的,提供AES-128或AES-256加密在编译时选择)。可以找到有关如何使用加密支持编译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获得加密支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!