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
* Cleaned up readme a bit
Related to #8
* Fixed github tagline
* Changed link to be more accurate and readable
* Fixed spelling error, added MIT License file
* Fix markdown issue with interword italics
Multihash is a protocol for differentiating outputs from various well-established cryptographic hash functions, addressing size + encoding considerations.
11
14
12
-
It is useful to write applications that future-proof their use of hashes, and allow multiple hash functions to coexist. See https://github.com/jbenet/random-ideas/issues/1 for a longer discussion.
15
+
It is useful to write applications that future-proof their use of hashes, and allow multiple hash functions to coexist. See [jbenet/random-ideas#1](https://github.com/jbenet/random-ideas/issues/1) for a longer discussion.
13
16
14
17
## Table of Contents
15
18
16
-
-[Table of Contents](#table-of-contents)
17
19
-[Example](#example)
18
20
-[Format](#format)
19
21
-[Implementations:](#implementations)
20
22
-[Table for Multihash v1.0.0-RC (semver)](#table-for-multihash-v100-rc-semver)
21
-
-[Other tables](#other-tables)
23
+
-[Other Tables](#other-tables)
22
24
-[Disclaimers](#disclaimers)
23
25
-[Visual Examples](#visual-examples)
24
26
-[Maintainers](#maintainers)
@@ -120,8 +122,7 @@ code name
120
122
# 0x14 formerly had the name "sha3", now deprecated
121
123
```
122
124
123
-
124
-
### Other tables
125
+
### Other Tables
125
126
126
127
Cannot find a good standard on this. Found some _different_ IANA ones:
127
128
@@ -132,6 +133,7 @@ They disagree. :(
132
133
133
134
## Disclaimers
134
135
136
+
<<<<<<< HEAD
135
137
Warning: **obviously multihash values bias the first two bytes**. Do not expect them to be uniformly distributed. The entropy size is `len(multihash) - 2`. Skip the first two bytes when using them with bloom filters, etc. Why not _ap_pend instead of _pre_pend? Because when reading a stream of hashes, you can know the length of the whole value, and allocate the right amount of memory, skip it, or discard it.
136
138
137
139
## Visual Examples
@@ -171,6 +173,9 @@ These are visual aids that help tell the story of why Multihash matters.
171
173
## Maintainers
172
174
173
175
Captain: [@jbenet](https://github.com/jbenet).
176
+
=======
177
+
Warning: **obviously multihash values bias the first two bytes**. Do not expect them to be uniformly distributed. The entropy size is `len(multihash) - 2`. Skip the first two bytes when using them with bloom filters, etc. Why not _ap_-pend instead of _pre_-pend? Because when reading a stream of hashes, you can know the length of the hash (from the table).
178
+
>>>>>>> Fix markdown issue with interword italics
174
179
175
180
## Contribute
176
181
@@ -182,5 +187,8 @@ Small note: If editing the README, please conform to the [standard-readme](https
0 commit comments