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,390
  2. brians08

    brians08 Registered Member

    Joined:
    Apr 27, 2008
    Posts:
    102
    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.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.