Should Compression(Huffman coding) be followed by Encryption(AES) or viceversa or both options are fine?

Should Compression(Huffman coding) be followed by Encryption(AES) or viceversa or both options are fine?
Please let me know the pros and cons of each approach.

 Accepted Answer

The compression must be applied before the encryption. The AES encyption increases the entropy of the signal, such that a compression will not reducethe data size anymore.

More Answers (0)

Categories

Asked:

on 30 May 2014

Commented:

on 8 Jun 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!