News for hackers. Stuff that matters.
Re:“Should you encrypt or compress first?” by gameofdrones on Tuesday June 28, 2016 @04:28PM (#11997274)
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.

There are no comments on this comment yet.