-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an agreed-upon URI and namespace for multihash? #132
Comments
I guess if a URI is required, it would then just point to Multihash, without pointing to a specific algorithm as the Multihash value itself already contains the information about the hash algorithm. |
An urn:multihash namespace would be useful. It would also be good to include the multibase character.
|
@IllidanS4 I raised this same question in the W3C community group on multihash See these two specs proposed to the IETF: https://www.ietf.org/id/draft-multiformats-multibase-05.html FYI: here is the issue I raised: It seems that we could register a Currently |
could |
When there's no authority, there shouldn't be a |
In XML signatures and linked data, one would use a URI for a particular hash function, like
http://www.w3.org/2001/04/xmldsig-more#md5
for the MD5 function, and the prefixurn:md5:
to identify a byte stream with its hash (for use in amagnet:
link for example). Sorry if this is not the right place to ask, but are these conventions used here? I have found one instance ofurn:multihash:
, so that seems usable enough, but I am clueless about the URI.One could say that if you already have a way to specify the hash function together with its result, there is not much advantage to using multihash, but not all hashes have existing identifiers, so a way to use its identifier table would be useful.
The text was updated successfully, but these errors were encountered: