4 ms·
> I guess, but what's the value of a "checksum" that fails to detect certain "cryptographically secure" changes in a file? Sufficient. all hashes (cryptographi
by masklinn 15y ago
> I guess, but what's the value of a "checksum" that fails to detect certain "cryptographically secure" changes in a file?
Sufficient. all hashes (cryptographically secure or not) will fail to detect some changes, that's a hash collision and that's an intrinsic and non-negotiable property of m:n mappings where len(m) > len(n). "Checksums" assume there is no attack being performed, as in nobody is trying to craft a collision. In "normal operations", even with pretty shitty hash functions (e.g. CRCs) hash collisions between subsequent file changes (or whatevere) are unlikely enough.