We need to parallelize the encryptFileAES function so we can encrypt blocks in parallel. Ali started on this already in the two parallel branches he created.
The core idea is to read a file into a buffer. Then distribute 128-bit chunks of the buffer to different threads that encrypt the block and write it to an output buffer.
Edit: This is done, but reviews/suggestions are welcome.
We need to parallelize the encryptFileAES function so we can encrypt blocks in parallel. Ali started on this already in the two parallel branches he created.
The core idea is to read a file into a buffer. Then distribute 128-bit chunks of the buffer to different threads that encrypt the block and write it to an output buffer.
Edit: This is done, but reviews/suggestions are welcome.