Objective
To check that a file has not been corrupted, a checksum is computed by reading it in blocks, without loading it whole into memory.
Instructions
- The file
datos.binexists. Read it in blocks of 4 bytes. - Show
Bytes: total,CRC32: xxxxxxxx(CRC-32 withzlib.crc32and 8 lowercase hexadecimal digits) andSum: n(sum of all bytes modulo 256).
Bytes: 11
CRC32: 0d4a1185
Sum: 92
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise