4 ms·
It seems to me that they're using a tree-based structure to avoid hash-checking the entire file, but do hash checking in blocks and update it. Since they're usi
by StavrosK 14y ago
It seems to me that they're using a tree-based structure to avoid hash-checking the entire file, but do hash checking in blocks and update it. Since they're using MD5, this probably makes it easier to find a collision and change a specific block.
Looks like they're using AES in CFB mode, which would probably complicate things, but I don't know why people don't use CTR mode more (it looks like it has many advantages to me, but I don't know much about crypto anyway), although in this scenario you'd probably want to use XTS.
Anyway, "proprietary" and "cryptography" in the same sentence is generally a big red flag to me.
- FileRockDA 14y agoSorry if I wasn't clear. We're not using MD5. And we're not using proprietary cryptography. What's "proprietary" is the implementation of the integrity check technology, which is based on published research.
- wglb 14y agoOk, I see lots of calls to compute_md5. So is the integrity check demonstrably better than HMAC?