POCO SQLite and SQLCipher integration

Hi

I need to use both POCO SQLite wrapper and SQLCipher in a project.
Essentially, is there a way to integrate a SQLCipher in a library which already uses, and is built with sqlite3?

My intention was to use SQLCipher library and call sqlite3_key() function every time I get the Session using POCO, before executing the queries and statements.

Hello @darkop - we don’t have much direct experience with POCO. If you can directly access the underlying sqlite3* used internally then you can call sqlite3_key on it prior to use. As an alternative, if you can execute raw SQL through POCO you can use PRAGMA key to set the key as well, even without the underlying SQLite database handle.