wxSQLite3

Author:Ulrich Telle 
Current maintainer:Ulrich Telle
Latest version:5.0.1
Programming language:C++
External dependencies:none
wxWidgets supported ports:wxMSW, wxGTK, wxMac
wxWidgets supported versions:3.x
Build system:Premake5 / autoconf
Code repository:GitHub
API documentation 5.x:Doxygen (Version 5.x)
API documentation 4.x:Doxygen (Version 4.x)

wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database and is specifically designed for use in programs based on the wxWidgets library.

wxSQLite3 does not try to hide the underlying database, in contrary almost all special features of the current SQLite3 version are supported, like for example the creation of user defined scalar or aggregate functions.

Since SQLite stores strings in UTF-8 encoding, the wxSQLite3 methods provide automatic conversion between wxStrings and UTF-8 strings. Special care has to be taken if external administration tools are used to modify the database contents, since not all of these tools operate in Unicode or UTF-8 mode.

wxSQLite3 includes a key-based SQLite3 encryption extension. Starting with version 4.0.0 the encryption extension allows to select the cipher scheme at runtime.

Currently the following encryption schemes are supported:

  • AES 128 Bit CBC - No HMAC (wxSQLite3)
  • AES 256 Bit CBC - No HMAC (wxSQLite3)
  • ChaCha20 - Poly1305 HMAC (sqleet) (default)
  • AES 256 Bit CBC - SHA1/SHA256/SHA512 HMAC (SQLCipher versions 1 - 4)
  • RC4 - No HMAC (System.Data.SQLite)
  • Ascon 128 - Ascon Tag (Ascon) (since version 4.9.8)
  • AEGIS - AEGIS Tag (AEGIS) (since version 4.10.0)

Bugs or other issues can be reported on the wxSQLite3 issues page on GitHub.

Future enhancements

To submit a feature request please please create an issue on the wxSQLite3 issues page on GitHub.

Supporting further development

If you find wxSQLite3 useful and would like to support the further development of this wxWidgets component, you may make a donation by clicking on the button on the left.


Copyright © 2005-2026 Ulrich Telle