3 ms·
Encrypted data is highly random, and a compression ratio would be close to 1. So yeah- technically you can run a compression algorithm over it, but it won't he
by DiskoHexyl 3y ago
Encrypted data is highly random, and a compression ratio would be close to 1.
So yeah- technically you can run a compression algorithm over it, but it won't help much
- MetaWhirledPeas 3y agoOK gotcha. Close to, but not exactly 1 because patterns appear even in randomness.
- eichin 3y agoBecause compression implementations generally have overhead, the output can actually be larger (similar to how compressing already-compressed data can produce a larger result.)
- cesarb 3y agoYes, but the times when you found these patterns (and managed to get a smaller output) will be matched by the times you found no patterns (and therefore the output was larger), such that the average compression ratio over a large enough amount of inputs will tend to 1.