|
|
|
|
|
by bawolff
781 days ago
|
|
Encryption generally leaks the size of the plaintext. This is true in both the compressed and non-compressed case. However with compression the size of the plaintext depends on the contents, so the leak of the size can matter more than when not using compression. Even without compression this can matter sometimes. Imagine compressing "yes" vs "no". |
|
Ah, I see. Naïvely, this seems like a really bad thing for an encryption algorithm to do—is there no way around it? Like, why is encryption different from hashing in this regard?