@NiKiZe This discussion has a pretty extended high-level discussion about calculating hashes that you might find relevant. The main caveat that seems to be a sticking point for some is that multiple valid DAG structures can be constructed for a given file. There’s not a “definitive” hash for any given file.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[SOLVED] Reproduce IPFS hash | 2 | 1777 | October 2, 2018 | |
Calculating IPFS Multihash Of Files Without Uploading Them To IPFS | 4 | 2204 | May 22, 2018 | |
Can I get the hash for my data without adding it to IPFS? | 8 | 2570 | October 23, 2019 | |
How to calculate file/directory hash? | 49 | 12809 | August 1, 2024 | |
How to replicate `ipfs add --only-hash` in pure Javascript, for a particular case | 0 | 1056 | May 20, 2019 |