Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gameofdrones
on June 28, 2016
|
parent
|
context
|
favorite
| on:
“Should you encrypt or compress first?”
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: