Originally Posted by Joykins
Hm...10 minutes to 5 seconds is v. impressive!
Having peeked at the code, it seems to be down to two things.
- A native (compiled C++ code) implementation of the encryption algorithm
- Using a more efficient way of concatenating blocks of data in python
The first is mostly responsible for the speed up on small files.
The second is mostly responsible for the speed up on big files.
Obviously, both help with both small and big files, but that's the way the benefits seem to split.