Hacker News new | ask | show | jobs
by kochthesecond 2542 days ago
if you encrypt in a way that enables the service to do dedupe, you are either reusing IVs and encryption keys across items (bad) and leaking information that two items are the same item.
1 comments

You must not reuse IV between different blocks, but that does not stop you from using the same IV for the same block. Yes, you leak information about matching blocks - it's up to your use case whether you care about it.
Yes, sorry I was imprecise. I meant reusing IVs for equal blocks only, to be able to see duplicate data.