Okay, I figured it out. I was basically "right next to" the correct answer and somehow missed it when I tried different variations. Thanks for taking the time to help! For the occasional future reader, I'll give an example focusing only on XXH64. Consider the following directory tree: dir1 dir2 dir3 file3.txt dir4 file4.txt dir5 dir6 dir7 file1.txt file2.txt The files file1.txt and file3.txt are empty, and the content inside file2.txt is abc and that of file4.txtis hi, if we use UTF-8 encoding. We...
But how does the program get hash_1?
Hello, I'm trying to understand how 7-Zip calculates "data and names" checksums. However, I have been unsuccessful, despite reading existing forum threads on the matter and looking at the source code on Github for multiple days. Let's consider, for example, an empty folder with the name d and we want to calculate an XXH64 checksum for data and names. 7-Zip's calculation arrives at 1D69432EF02A64F0 (on the current version 26.03 (Windows x64)). For a file that's not a folder, the data checksum is as...