Comment

Comment by ryansan

I always thought it was good to compress first because you can more easily avoid frequency attacks. In that way I think it's better to compress then encrypt.

EDIT: That and you get to encrypt a shorter data stream. I realize frequency attacks aren't as much of a concern these days but it's just the first thing that came to my mind.

parent ryansan 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton