maxacan / clypher

GNU General Public License v3.0
0 stars 0 forks source link

Add support for reading files in chunks in order to save on memory. #4

Closed maxacan closed 6 months ago

maxacan commented 6 months ago

Right now, when requesting a file from the FileHandler, the entire file is read. This results in loading the entire file into memory.

If file chunking is added, it can help save on memory.

maxacan commented 6 months ago

This might not be possible depending on the encryption algorithm used. As such, it will be the responsibility of the Engine to make sure the encryption algorithm used supports chunking, or to create a file format that gets encrypted in chunks.