ok tried a 20 gb file with 1% and without encryption and the processing speed is same
It's not exactly the same but the difference is very small. The encryption overhead is there so it really depends on how fast the CPU + Storage is.
In order to visualize it, you could increase the encryption percentage to 100% in the unit test files and you will see it takes more time to process because it encrypts the whole file.