by rudolph9 · 6y ago · 0 comments
Really simple mechanisms for things like identifying the hash algorithm and gives you a programmatic way of supporting new hash algorithms without breaking or changing anything that depends on the old.
[1] https://multiformats.io/multihash/#the-multihash-format
Edit: someone already detected this: https://github.com/multiformats/website/pull/62
It's been done before. ;)