Nguyễn Thiệu Vy
Member
Do you compress or encrypt data first?
Answer
Compress first. Once you encrypt the file you will generate a stream of random data, which will be not be compressible. The compression process depends on finding compressible patterns in the data. Compression before encryption is surely more space efficient but in the same time less secure.
Answer
Compress first. Once you encrypt the file you will generate a stream of random data, which will be not be compressible. The compression process depends on finding compressible patterns in the data. Compression before encryption is surely more space efficient but in the same time less secure.