multiformats / multihash

Self describing hashes - for future proofing
https://multiformats.io/multihash/
MIT License
898 stars 114 forks source link

Can multi hash be compatible with RFC 6920 #77

Open melvincarvalho opened 7 years ago

melvincarvalho commented 7 years ago

Just wondering if the devs here have seen the work at the IETF:

https://tools.ietf.org/html/rfc6920

Could the two efforts be compatible?

hsanjuan commented 7 years ago

I think so, the IETF proposal seems more limited than multihash (not clear if it supports 64 algorithms (it reserves 6 bits for that) or 32 as it says). It doesn't specify the size making binary interpretation of truncated hashes more problematic than with multihash too.

Conversion between the two formats should be very easy though.

I just noticed that this RFC is linked from the README so @jbenet knew about it 3 years ago when he added that line at least.

pawal commented 7 years ago

Also see #49