Alice wants to send Bob a large file.
She is also worried about the security of the network. So, she needs to encrypt it.
Should she compress the data and then encrypt? Or should she encrypt the data and then compress? Or does it not matter?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Encryption makes data look like gibberish.
Compression Algorithm look for patterns in the data. Essentially, they work by representing the data in terms of this patterns. Hence, they cannot work on encrypted data which is apparently patternless.