Documentation ¶
Overview ¶
Write a function that gets an index file with names of files and sha256 signatures in the following format 0c4ccc63a912bbd6d45174251415c089522e5c0e75286794ab1f86cb8e2561fd taxi-01.csv f427b5880e9164ec1e6cda53aa4b2d1f1e470da973e5b51748c806ea5c57cbdf taxi-02.csv 4e251e9e98c5cb7be8b34adfcb46cc806a4ef5ec8c95ba9aac5ff81449fc630c taxi-03.csv ...
You should compute concurrently sha256 signatures of these files and see if they math the ones in the index file.
- Print the number of processed files
- If there's a mismatch, print the offending file(s) and exit the program with non-zero value
Grab taxi-sha256.zip from the web site and open it. The index file is sha256sum.txt
Click to show internal directories.
Click to hide internal directories.