I was using 7zip to compute the hash of a folder (with subfolders), which it can do with two options, with or without including the file names.
However, on the linux version of 7zip, the hash feature is not implemented. I tried different methods to duplicate the result, but none of these methods would give the same result on linux and windows.
Examples of results :
"7za.exe h -scrcsha1 myfolder" on windows gives :
SHA1 for data: D54D3168B16BFEE600C3A77E848A2A1C1DBCBC59
SHA1 for data and names: BCE55085200581AD1774CC25AE065DE7DE60077D
, whereas on linux I have :
find . -type f -exec sha1sum "$PWD"/{} \; | sha1sum
ee44137f2462bdfea87ec824dab514f288ae3e6c -
or
find . -type f | xargs sha1sum | sha1sum
8f971311a28bcdee36fab0ce87a892564622db40 -
So I can't use the result from one platform on another.
(I did verify that the result for a single file is the same for both platforms.)