Should you encrypt or compress first?

Discussion in 'other security issues & news' started by lotuseclat79, Jun 28, 2016.

  1. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,096
  2. brians08

    brians08 Registered Member

    Joined:
    Apr 27, 2008
    Posts:
    40
    Very interesting. What this comes down to is that you should use compression before encryption only when you are forced to. If you are bandwidth limited for example.
    If you have the bandwidth, you should encrypt first and forget about compression.
    Going into the future, with bandwidth ever increasing, it looks like you should dump compression altogether. Then, as bandwidth allows, add padding to form fixed packet lengths before encryption.
    Nothing new about this of course. There are numerous encryption implementations that implement random padding for this purpose.
     
Loading...