AES can be a little slow when the files are over 50 MB.
ChaCha20 is faster than AES
Here is a documentation that you could use.
ChaCha20
ChaCha20 is a stream cipher developed by Daniel J. Bernstein. Its original design expands a 256-bit key into 2^64 randomly accessible streams, each...