File Checksums in DaRIS (Mediaflux)
While data is ingested into DaRIS, file checksums are calculated automatically. The file checksums in DaRIS/Mediaflux are CRC32.
You can manually generate the CRC32 checksum of the local copy of your file and compared it with the checksum in DaRIS(Mediaflux).Â
To calculate CRC32 checksum locally, you can try one of the following methods:
- On Mac OS, there's a command line utility crc32 can be used. For example,
% crc32 my-file.txt 3cac0379
- On Linux, the command line utility crc32 can be installed. See https://askubuntu.com/questions/303662/how-to-check-crc-of-a-file
- A python script to calculate CRC32 checksum:Â https://gist.github.com/xtman/1c75a91350c7a6d614aed00261afa204
- A Java utility class to calculate CRC32 checksum:Â https://gist.github.com/xtman/e8ea120e996d2af9623b108b59da2318