WinZip AE-2 for small files and AE-1 for larger – how small/how large for each? [closed]

I’m adding password protection/encryption support to a Python package that makes ZIP files (https://github.com/uktrade/stream-zip). I’m opting to not add ZipCrypto support, but instead add WinZip-style AES
From https://www.winzip.com/en/su… Continue reading WinZip AE-2 for small files and AE-1 for larger – how small/how large for each? [closed]

Which is preferable compress and encrypt or just encrypt and no compression in purely security perspective and not in resources or efficiency? [duplicate]

I want to know what attack am I exposed to if I implement one of the two method. I’m pretty sure both of them are not 100% fool-proof and both of them are expose to traffic-analysis attack if I do sent the files through the internet. I wan… Continue reading Which is preferable compress and encrypt or just encrypt and no compression in purely security perspective and not in resources or efficiency? [duplicate]