News for hackers. Stuff that matters.
Re:“Should you encrypt or compress first?” by api on Tuesday June 28, 2016 @12:08PM (#11994892)
The rule is: never compress something secret together with something potentially attacker-influenced.

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.

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.
Re:“Should you encrypt or compress first?” by api on Tuesday June 28, 2016 @01:07PM (#11995456)
Fixed. That was a typo/thinko.
Re:“Should you encrypt or compress first?” by AgentME on Tuesday June 28, 2016 @01:37PM (#11995756)
That's an excellent rule, but that doesn't cover the other example used about voice communications.