Page 1 of 1

EncryptTable creates truncated data

Posted: Sun 12 Nov 2017 22:30
by FredS
Wanted to add a quick feature and then I get truncated data in UniDAC 7.1.4.

After using EncryptTable on two tables the data is truncated; "Administrator" becomes "Admini".
Both FB3 and MSSQL field size is [n]varchar(500).

To be clear, the field data is encrypted and de-crypts but only part of the original string is there.

TUniEncryptor uses default settings and SetKey.

Re: EncryptTable creates truncated data

Posted: Tue 14 Nov 2017 15:11
by Stellar
Thank you for the information. We have fixed the issue, and the fix will be included in the next UniDAC build.

Re: EncryptTable creates truncated data

Posted: Tue 14 Nov 2017 16:51
by FredS
Stellar wrote:Thank you for the information. We have fixed the issue, and the fix will be included in the next UniDAC build.
Hello Stellar,

That was fast, is it possible to get source code changes for this issue only from you before the next release?

Fred

Re: EncryptTable creates truncated data

Posted: Wed 22 Nov 2017 15:21
by Stellar
Unfortunately, the issue fix has not been included in the stable UniDAC version. As soon as the fix is included and checked, we will let you know.

Re: EncryptTable creates truncated data

Posted: Sat 25 Nov 2017 21:49
by FredS
Stellar wrote:Unfortunately, the issue fix has not been included in the stable UniDAC version. As soon as the fix is included and checked, we will let you know.
OK, hooked into your code and fixed this myself.
So no rush..