This adds multihash to the registry for the ni: and nih: URI schemes, allowing its use in general URIs referencing objects by their hash.
The mh name was chosen for consistency with the other registration in the HTTP Digest Algorithm Values registry.
The ID of 49 is taken from the identification of multihash itself in the multicodec table, for possible use in the binary format specified by RFC 6920. Sharing the identifier is not necessary in itself, but it ensures that it is not confused with an actual existing multihash identifier in the binary representation.
It should be noted that the digest value in ni: is encoded using the base64url encoding, with no = padding characters.
This adds multihash to the registry for the
ni:
andnih:
URI schemes, allowing its use in general URIs referencing objects by their hash.The
mh
name was chosen for consistency with the other registration in the HTTP Digest Algorithm Values registry.The ID of 49 is taken from the identification of multihash itself in the multicodec table, for possible use in the binary format specified by RFC 6920. Sharing the identifier is not necessary in itself, but it ensures that it is not confused with an actual existing multihash identifier in the binary representation.
It should be noted that the digest value in
ni:
is encoded using the base64url encoding, with no=
padding characters.