Thread: IPlug - Youlean
View Single Post
Old 12-13-2017, 04:33 AM   #243
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 341
Default

So, getting somewhere but still not quite there. I was thinking that taking out the out checks from Encrypt and the in checks from Decrypt might do it, but that didn't work out. As a test I commented both of the "if (in == '\n' || in == '\r' || out == '\n' || out == '\r' || out == '\0') continue;" lines, which meant that most of the data was recalled, but I found that one test serial number was truncated still while another was recalled in its entirety. Looking at the encrypted .ini file, I can see that the last character before truncation is being encrypted as a newline character. Though I guess you already know that that causes issues!

Did you have any thoughts on how you were going to work around it that I could try out?
Bobflip is offline   Reply With Quote