4 ms·
For checking data corruption it makes more sense but most archive formats have this built-in, don't they? I.E.: You won't be able to extract it if it got corru
by Black101 5y ago
For checking data corruption it makes more sense but most archive formats have this built-in, don't they? I.E.: You won't be able to extract it if it got corrupted.
- nullc 5y agoTar doesn't, nor does the classic unix 'compress' (the thing we all used before gzip). :)
- Black101 5y agoif you are using tar by itself, you are asking for trouble
- r1ch 5y agoDownloading over HTTPS also protects against data corruption in transit.
- vbezhenar 5y agoDownloading over HTTP also protects against data corruption in transit, because HTTP uses TCP and TCP uses CRC32 checksums. Though those checksums are not extremely reliable and have tiny chance of being corrupted.
- nullc 5y ago> TCP uses CRC32 checksums. It uses a 16-bit ones complement addition. At the packet sizes used on the internet it's extremely weak, much more so than you'd expect just from it being 16-bits, especially on data that isn't a uniform binary.