I am compressing a number of files with size in the order of 5GB before sharing them.
On the one hand, I would like to provide a hash sum for the recipient to check the files' integrity. On the other hand, generating a sha256sum of a large file takes some time if you don't have a powerful machine and I did not want to overburden the recipients' computer.
I then wondered whether a faster sha1 sum would provide the same integrity guarantees as a slower sha256sum, simply because the files are big enough.
Take note that security is not a concern here: mainly, it is about knowing that the data have not been accidentally corrupted during upload, storage and download.
Question stimulated by this other answer https://unix.stackexchange.com/a/260519/132913