Page 1 of 1

Encryption SQLite AES-256

Posted: Fri 09 Oct 2020 07:48
by DmitriNL
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.
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";
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!

Re: Encryption SQLite AES-256

Posted: Tue 13 Oct 2020 08:32
by MaximG
We tested UniDAC work according to your description and found no problems. For testing we used the latest version of UniDAC 8.3.2. Please make sure that you are using the latest UniDAC version. In this case, if it is so, please compose and send us a small project execution of which causes the issue. For your convenience, please use the e-support form https://www.devart.com/company/contactform.html