UniConnection.Database := 'C:\sqlite.db3'; // the name of the database to be encrypted
UniConnection.SpecificOptions.Values['ForceCreateDatabase'] := 'False'; // to check that the database exists
UniConnection.SpecificOptions.Values['Direct'] := 'True'; // database file encryption is supported in the Direct mode only
UniConnection.SpecificOptions.Values['EncryptionAlgorithm'] := 'leBlowfish'; // the database will be encrypted with the Blowfish encryption algorithm
UniConnection.SpecificOptions.Values['EncryptionKey'] := ''; // no encryption key specified, because the database is not encrypted yet
UniConnection.Open; // connect to the database
TLiteUtils.EncryptDatabase(UniConnection, '11111');
--------------------------------------------
如果用这种方式加密了数据库
那用什么工具来管理数据库呢?
If you encrypt a database this way
That what tools to manage the database?
If you encrypt a database this way That what tools to manage the database?
Re: If you encrypt a database this way That what tools to manage the database?
If you are using the Direct mode, you won't be able to open the encrypted database in any third-party utility. If you are using a third-party library with support for encryption, then you will be able to open the database in any utility for work with SQLite using this library.
Re: If you encrypt a database this way That what tools to manage the database?
SQLite Expert Professional 3 will not open database
Re: If you encrypt a database this way That what tools to manage the database?
Please provide a link to the used library