Re:“Should you encrypt or compress first?”
by DanBlake on Tuesday June 28, 2016 @01:00PM
(#11995393)
My point was never that it was possible 100% of the time. Simply that it was possible some of the time.
On average, you will expand files, not compress them.
Also, the odds of getting finding even a single encrypted file of that length which can be compressed are lower than the odds of winning the lottery three times in a row. Trust me, you didn't just happen to stumble across a working example. You screwed up the test.
Re:“Should you encrypt or compress first?”
by Dylan16807 on Tuesday June 28, 2016 @02:23PM
(#11996171)
There are no real patterns in encrypted data. Only tiny exponentially rare streaks. This means that compressing is still useless, as originally claimed. You're arguing against something that wasn't said.
Try compressing the output of /dev/urandom on your nearest convenient UNIX-like system. If you figure out a way to reliably and significantly compress that, please report back.