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

1 view (last 30 days)
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

Jan
Jan on 31 May 2014
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

Find more on Encryption / Cryptography in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!