I have been trying to do encryption using the api. After I am encrypting the data I am saving it to a text file which works fine. While doing the encryption I tried to make sure that it didnt not incorporate a cf or lf character. But sometimes I am still having trouble reading in everything from the text file (that is encrypted). The file contains this following string exactly:
´o¸sçPQ]××¢ÎåhøoÔJ2¢1´%Áüø*RM@-Æ
When I attempt to read in a line, or use the input() function with the buffer the size of the file it will never read beyond the 8th charater. If I attempt to read in 9 bytes from the file, I get an input past the end of the file error.
Does anyone know of a method where I can read everything in? Or maybe a possible work around for this?
´o¸sçPQ]××¢ÎåhøoÔJ2¢1´%Áüø*RM@-Æ
When I attempt to read in a line, or use the input() function with the buffer the size of the file it will never read beyond the 8th charater. If I attempt to read in 9 bytes from the file, I get an input past the end of the file error.
Does anyone know of a method where I can read everything in? Or maybe a possible work around for this?