Issue with writing out AES encrypted file with SaveStringToFile()
In our project we use FAES encryption/decryption to save out user information to a local file tagged with .ejs. Every once in a while, if the file becomes a sufficient size, the SaveStringToFile function will not serialize the String properly and thus on reading back from the file, the contents are not read properly. The particular issue I have found is in the following line.
The second variable is passed into the Serialize function as a much smaller value than is should be and causes the encrypted String to not write to the file properly.
asked Nov 06 '18 at 10:15 PM in C++ Programming
My first concern would be whether your encryption process could be generated a null terminator. The string then thinks that is the end of the string, even though you have arbitrarily more data that is supposed to be stored.
answered Nov 07 '18 at 08:50 PM
Brian Johnstone STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here