Encryption SQLite AES-256
Posted: Fri 09 Oct 2020 07:48
Hi,
I am experimenting with encryption on a SQLite database. Using Blowfish works as expected but when I try to set AES-256 an error occurs on closing the application.
Maybe I missed something or I am doing something wrong? I am using C++ Builder 10.4 and UniDAC 8.2.5. Thank you in advance for your support.
Cheers!
I am experimenting with encryption on a SQLite database. Using Blowfish works as expected but when I try to set AES-256 an error occurs on closing the application.
Project MyProject.exe raised exception class EInvalidOperation with message 'Cannot call BeginInvoke on a control with no parent or window handle'.
Code: Select all
Connection->ProviderName = "SQLite";
Connection->SpecificOptions->Values["ConnectMode"] = "cmReadWrite";
Connection->SpecificOptions->Values["UseUnicode"] = "True";
Connection->SpecificOptions->Values["Direct"] = "True";
Connection->SpecificOptions->Values["EncryptionAlgorithm"] = "leAES256";
Connection->SpecificOptions->Values["EncryptionKey"] = "11111";
Cheers!