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

Compress, encrypt and then MAC. If MAC fails, don't decrypt. If decryption fails, don't (and can't) decompress. If decompression fails, throw away data, because compression-to-encryption time corruption occurred.


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

Search: