Read a file to multiple array byte[]
- by hankol
I have an encryption algorithm (AES) that accepts file converted to array byte and encrypt it.
Since I am going to process a very big size files, the JVM may go out of memory.
I am planing to read the files in multiple array byte. each containing some part of the file. Then I teratively feed the algorithm. Finally merge them to produce encrypted…