‘encrypt’ and ‘compress’ data during transmission

If you have to ‘encrypt’ as well as ‘compress’ data during transmission then which would you do first and why?

Data should be transmitted over any communication network in such a way that the data integrity and authenticity should be maintained, for this first compress the data and then encrypt the data.

The reason behind it is; if you encrypt first you will have nothing but random data to work with, which will destroy any potential benefit from compression.
What is the goal of Information Security in an organization?
Network Security - What is the goal of Information Security in an organization? - Confidentiality, Integrity and Availability...............
What is Symmetric-Key cryptography and Asymmetric-Key cryptography?
Network Security - Symmetric-Key Cryptography: Symmetric-key cryptography uses a single key for both encryption and decryption...............
Networking - Explain the services provided by IP (Internet Protocol)
IP (Internet Protocol) - Addressing: For the purpose of delivering datagram packets, IP needs to know about the address of the destination........
Post your comment