nftstorage / nft.storage

**Notice: Uploads Decommissioned - Existing Data is Safe!** NFT.Storage Classic (classic.nft.storage) offers free decentralized storage and bandwidth for NFTs on IPFS and Filecoin. June 2024 Update: No new uploads, but all existing data is safe. Try the new NFT.Storage, which preserves data in long term Filecoin storage. Go to app.nft.storage
https://classic.nft.storage
Other
621 stars 168 forks source link

Add support for other hashing algorithms supported by IPFS #2520

Open clostao opened 3 months ago

clostao commented 3 months ago

IPFS documentacion tells that:

IPFS uses the sha-256 hashing algorithm by default, but there is support for many other algorithms. The Multihash (opens new window) project represents the work for this, with the aim of future-proofing applications' use of hashes and allowing multiple hash functions to coexist. (If you're curious about how hash types in IPFS are decided upon, you may wish to keep an eye on this forum discussion (opens new window).)


Having all these algorithms coexisting have lots of benefits for the network, and for the users of this library too.

For this reason, I suggest to give support to all the hash functions included in the Multihash project as it marks the consensus regarding hashing mechanisms in IPFS ecosystem.

elizabeth-griffiths commented 2 months ago

Thanks for your feedback. We'll keep this ticket open and invite others to share their thoughts on it as well.