multiformats / multicodec

Compact self-describing codecs. Save space by using predefined multicodec tables.
MIT License
338 stars 202 forks source link

URDNA2015 Support #149

Open aaronc opened 4 years ago

aaronc commented 4 years ago

Has support for RDF Dataset Normalization and URDNA2015 (Universal RDF Dataset Normalization Algorithm) been discussed here?

Not sure quite how it would fit in with multicodec and multihash, but this hashing algorithm is a bit different from others in that first the data (possibly submitted in JSON-LD form) goes through a canonicalization algorithm and then gets hashed. The idea being that a single RDF dataset gets a consistent hash regardless of how it's serialized (i.e different field orderings and whitespace in JSON or a different format like XML will all produce the same hash for the same data).

dmitrizagidulin commented 2 years ago

See also the discussion at https://github.com/multiformats/multicodec/pull/261