Skip to main content
3 events
when toggle format what by license comment
Mar 3 at 7:33 comment added Peter Cordes That's why you should always compress before encrypting, rather than the other way around. - if you're going to compress at all, of course. Reasons not to include the fact that the length of a message is often not secret, and in some cases the compressed length can reveal information about the message. Some attacks on SSL / HTTPS have been possible because of compression; see Is there an existing cryptography algorithm / method that both encrypts AND compresses text? for links to details on CRIME and BREACH attacks.
Mar 2 at 23:48 comment added JBH +1 because this answer is the best explanation I've ever read concerning the basic problem with data compression.
Mar 2 at 22:00 history answered Logan R. Kearsley CC BY-SA 4.0