[Cryptography] Is there a good algorithm providing both compression and encryption at the same time?

Ben Laurie ben at links.org
Sat May 9 16:48:13 EDT 2015


On 9 May 2015 at 21:47, Ben Laurie <ben at links.org> wrote:
> On 8 May 2015 at 22:23, Bill Frantz <frantz at pwpconsult.com> wrote:
>> Probably compression is safe if each source of data is compressed
>> separately.
>
> Surely not. Some plaintexts of the same length compress shorter than
> others. That gives me a distinguisher. If I have a distinguisher, it
> is not "safe".

P.S. you can fix this with padding.


More information about the cryptography mailing list