There’s an issue raised in the ipfs/docs
repo regarding documentation on CIDs. Essentially:
- What type of hashing algorithm does IPFS use?
- Is there any kind of future-proofing for the hash type?
- Who decides what hash types IPFS uses?
The first two answers are below, but the third is open for discussion here.
- What type of hashing algorithm does IPFS use?
IPFS uses sha-256
by default, but there is support for a bunch of other algorithms. The Mulithash project represents the work for this.
- Is there any kind of future-proofing for the hash type?
This is already covered mainly by the first question. Juan did a presentation explaining the steps IPFS is taking to make sure that the project doesn’t go the way of the dodo.
- Who decides what hash types IPFS uses?
The answer to this question isn’t obvious right now. It’d be cool to open up the discussion and figure out how we’re dealing with this.