On 8/20/19, Mark Tomlin <[email protected]> wrote: > I would like to use SQLite's Encryption Extension with my PHP 7.2 code > base, as well as 7.3 and 7.4 code bases moving forward. My hope is is that > the see-sqlite.c code file can be simply renaming it to sqlite.c and > dropping it into PHP's build directory.Then compiling it as I normally > would. I'm also guessing I would have to modify the (see-)sqlite.c code to > make a call to sqlite3_key from within the sqlite3 function call so > that the encryption is always on and would not require any modifications to > the PHP source code.
You do not need to modify any C code, either in SQLite/SEE or in PHP. You can activate encryption and set the encryption key using a PRAGMA statement. > > Has anyone done this before? Yes. -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

