Re:“Should you encrypt or compress first?”
by TorKlingberg on Tuesday June 28, 2016 @12:41PM
(#11995230)
No, the rule is: never compress something secret together with something potentially attacker-influenced, at least if the length of the compressed data leaks.
Fixed. That was a typo/thinko.
If the attacker can influence the traffic, they can potentially gather information about the secret by examining the effect of differing traffic patterns on the size of the encrypted result.