Re:“Should you encrypt or compress first?”
by qu4z-2 on Tuesday June 28, 2016 @07:02PM
(#11998275)
If patterns appear in random data, and no patterns appear in encrypted data, then it's trivially distinguishable from random data: look for patterns.
[ Parent
| on HN ]
Re:“Should you encrypt or compress first?”
by qu4z-2 on Wednesday June 29, 2016 @05:58PM
(#12005139)
To be clear, I'm not claiming that encrypted data is compressible. I'm just pointing out that any detectable "patterns" that appear in random data but not encrypted data are inconsistent with the claim that random and encrypted data are indistinguishable. Also if you find such a "pattern" that's probably a good starting point for breaking whatever cipher you're using.