I am considering supporting encrypted sqlite databases for a PHP application. I am using SQLite3 extension of PHP and it seems, that they already support an encryption method, at least SQLite3::__construct allows for an encryption-key to pass.
What i was not able to figure out is, which encryption library they are talking about in the documentation. By googling i found the following:
- sqlcipher
- sqlite see
- sqlite crypt
What is not clear to me is:
- how these libraries integrate with SQLite3
- if they share compatibility to each other regarding to specifying the encryption key and setting up data access etc.
- if i can automatically detect in my application if any and which encryption library my SQLite3 installation is supporting, so it would be possible for my application to support different encryption libraries
Any help is very much appreciated!