Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The site mention compression. I was under the impression that encryption and compression don't always play well together ?


Properly encrypted data is basically impossible to compress. Lossless compression requires repeating patterns in the data and lossy compression requires an ability to understand the content. Since properly encrypted data should be indistinguishable from random noise, neither of these things apply.

Compressing first and then encrypting the compressed data works fine though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: