3 ms·
One of the mistakes Git made was that the hashes don't describe what algorithm was used to generate them. That makes backward compatibility and incremental upg
by mathnmusic 6y ago
One of the mistakes Git made was that the hashes don't describe what algorithm was used to generate them. That makes backward compatibility and incremental upgrades harder. MultiHash is a solution for such issues: https://github.com/multiformats/multihash https://github.com/multiformats/multihash
- heavenlyblue 6y agoYou don’t need a specialised solution for this, just prefix the v1 of your hashing algorithm with some constant and then you can easily extend it.