Skip to content
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

Add information about standard encoding. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

btrask
Copy link

@btrask btrask commented Apr 4, 2016

This addresses my only criticism with the MultiHash standard.

@@ -37,6 +37,10 @@ fn code dig size hash digest
sha1 4 bytes 4 byte sha1 digest
```

The standard encoding is base-58, using the [Bitcoin character set](https://en.bitcoin.it/wiki/Base58Check_encoding#Base58_symbol_chart).
Copy link
Member

@jbenet jbenet Jun 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not part of multihash per-se, and weill be rolled out into multibase.

the fact that IPFS uses a naked (non multibase) base58 encoded multihash is a separate story.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. To be explicit, we can add some text like:

The multihash spec does not require any specific type of encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants