How to compile wxsqlite3 and sqlite to get encrypt

2019-02-20 11:35发布

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.

2条回答
淡お忘
2楼-- · 2019-02-20 12:06

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.

查看更多
我想做一个坏孩纸
3楼-- · 2019-02-20 12:14

The author of sqlite sells a package including encryption. He's a very nice gentleman and I encourage you to support him by buying a copy. I am not associated with that project in any way.

查看更多
登录 后发表回答