Skip to content

Add information about standard encoding.#26

Open
btrask wants to merge 1 commit into
multiformats:masterfrom
btrask:master
Open

Add information about standard encoding.#26
btrask wants to merge 1 commit into
multiformats:masterfrom
btrask:master

Conversation

@btrask

@btrask btrask commented Apr 4, 2016

Copy link
Copy Markdown

This addresses my only criticism with the MultiHash standard.

Comment thread README.md
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).

@jbenet jbenet Jun 21, 2016

Copy link
Copy Markdown
Member

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
Copy Markdown

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.

3 participants