patternMinor
Data Compression: Which one is Better "Compress before Encrypt" or "Encrypt before Compression"
Viewed 0 times
compressioncompressbetteronewhichbeforeencryptdata
Problem
Which one is better approach do data compression before encrypting it or Encrypt data before compression ? I think it is biased towards the application requirement. Please share your views.
Solution
Compressing encrypted data doesn't work. Encrypted data looks pseudorandom, therefore if you try to compress it, you'll find that the compression is ineffective.
Try it. You'll see. It's a very simple experiment -- give it a try.
Try it. You'll see. It's a very simple experiment -- give it a try.
Context
StackExchange Computer Science Q#22378, answer score: 8
Revisions (0)
No revisions yet.