3 ms·
What's the point of compressing if you're just going to pad it anyway? If you're worried about security just encrypt and don't compress.
by Miner49er 10y ago
What's the point of compressing if you're just going to pad it anyway? If you're worried about security just encrypt and don't compress.
- mjevans 10y agoThe point in that case is to combat plain text (known value) attacks. Precisely how the padding / extra padding is distributed within the data stream to be encrypted is also an issue. The goal is to make it very difficult to guess where data will be represented if you do happen to know the plain text.