You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid adding a second word meaning the same thing. I've consolidated
around "registered" because it matches the existing "Registered
algorithms" header.
Also some copy-edits for the sentences I've touched:
* "alpha numeric" -> "alphanumerics" (matching [1]).
* "paramterize" -> "parameterize
* "future extension of digest support" -> "extensions", because folks
may be taking advantage of the extended grammar *now*, without
waiting for the image-spec to take advantage of the extended
grammar.
[1]: https://en.wikipedia.org/wiki/Alphanumeric
Signed-off-by: W. Trevor King <[email protected]>
`multihash+base58:QmRZxt2b1FVZPNqd8hsiykDL3TdBDeTSPX9Kv46HmX4Gx8` | Multihash | No |
86
-
`sha256+b64u:LCa0a2j_xo_5m0U8HTBBNBNCLXBkg7-g-YpeiGJm564` | SHA-256 with urlsafe base64 | No|
87
-
88
-
Please see [Registered Algorithms](#registered-algorithms) for a list of supported algorithms.
89
-
90
-
Implementations SHOULD allow digests that are unsupported to pass validation if they comply with the above grammar.
91
-
While `sha256` will only use hex encoded digests, support for separators in _algorithm_ and alpha numeric in _encoded_is included to allow for future extension of digest support.
92
-
As an example, we can paramterize the encoding and algorithm as `multihash+base58:QmRZxt2b1FVZPNqd8hsiykDL3TdBDeTSPX9Kv46HmX4Gx8`, which would be considered valid but unsupported by this specification.
`multihash+base58:QmRZxt2b1FVZPNqd8hsiykDL3TdBDeTSPX9Kv46HmX4Gx8` | Multihash | No |
86
+
`sha256+b64u:LCa0a2j_xo_5m0U8HTBBNBNCLXBkg7-g-YpeiGJm564` | SHA-256 with urlsafe base64 | No|
87
+
88
+
Please see [Registered Algorithms](#registered-algorithms) for a list of registered algorithms.
89
+
90
+
Implementations SHOULD allow digests with unrecognized algorithms to pass validation if they comply with the above grammar.
91
+
While `sha256` will only use hex encoded digests, separators in _algorithm_ and alphanumerics in _encoded_are included to allow for extensions.
92
+
As an example, we can parameterize the encoding and algorithm as `multihash+base58:QmRZxt2b1FVZPNqd8hsiykDL3TdBDeTSPX9Kv46HmX4Gx8`, which would be considered valid but unregistered by this specification.
0 commit comments