How to use UniEncryptor

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
arusoft
Posts: 45
Joined: Thu 06 Sep 2012 20:19

How to use UniEncryptor

Post by arusoft » Thu 05 Sep 2013 18:54

Hi,

We are deciding to Encrypt data when we send/receive to/from Database. So I think we need to use UniEncryptor. But I don't find any documentation on it. Will it work with my existing application without much modification. We use uniQuery a lot for view/insert/delete data.

Please advice.

Thank You.

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: How to use UniEncryptor

Post by DemetrionQ » Mon 09 Sep 2013 08:27

Hello.

TUniEncryptor is used in conjunction with TUniQuery or TUniTable. TUniEncryptor works as follows. When changing data via TUniQuery or TUniTable using Insert/Edit/Post, then the linked TUniEncryptor component will encrypt the specified fields only for the current edited record. Similarly, this component will decrypt data in these fields when opening DataSet. If you have a table filled with unencrypted data, then using this component will encrypt only added or changed records. Unchanged records will not be encrypted.
Note that not all data types can be encrypted.
You can find more detailed information on using TUniEncryptor in the "Data Encryption" article of the UniDAC help ( http://www.devart.com/unidac/docs/encryption.htm )

arusoft
Posts: 45
Joined: Thu 06 Sep 2012 20:19

Re: How to use UniEncryptor

Post by arusoft » Wed 11 Sep 2013 16:00

Thank you very much for reply. I will get back if I got questions.

But this information is helpful for now.

Regards.

Post Reply