--------------------------------------------------------------------------------------
------------------------------------------------------------------------------AlexP wrote:Hello,
We have added encryption support with using standard SQLite functions: sqlite3_key, sqlite3_rekey.
You can use these features like:
use the key
UniConnection1.SpecificOptions['EncryptionKey']:= 'key'
set the key
uses LiteClassesUni;
procedure EncryptDatabase(Connection: TCRConnection; NewKey: _string);
but if your sqlite.dll doesn't support encryption you can't use these features.
We will add this information into the UniDAC help in one of the next builds.
Question One:
use the key
UniConnection1.SpecificOptions['EncryptionKey']:= 'key'
Is Wrong, Correct Is :
Code: Select all
UniConnection1.SpecificOptions.Values['EncryptionKey']:='key'
How to Change Encrypt Key to A New Key!
procedure EncryptDatabase(Connection: TCRConnection; NewKey: _string);
I How to Use this procedure, How to Get TCRConnection type From TUniConnection In my Application ! how to use Connection parameter !
use UniConnection1 to Connect Sqlite Database In my Application, How to Change Encrypt Key
Give me a sample for change encryptkey is very nice.
Thanks !!!
[/code]