Merge pull request #24 from multiformats/feat/update-why-2

add in some more codes
This commit is contained in:
Lars Gierth 2017-01-02 22:51:26 +01:00 committed by GitHub
commit 7c8f568692

View File

@ -35,6 +35,7 @@ multihashes,,
sha1, , 0x11
sha2-256, , 0x12
sha2-512, , 0x13
dbl-sha2-256, , 0x56
sha3-224, , 0x17
sha3-256, , 0x16
sha3-384, , 0x15
@ -45,6 +46,7 @@ keccak-224, , 0x1A
keccak-256, , 0x1B
keccak-384, , 0x1C
keccak-512, , 0x1D
murmur3, , 0x22
,, Note: keccak has variable output length. The number specifies the core length
blake2b-8,Blake2b consists of 64 output lengths that give different hashes,0xb201
blake2b-16,,0xb202
@ -186,5 +188,7 @@ eth-storage-trie, Ethereum Contract Storage Trie (Eth-Secure-Trie), 0x98
bitcoin-block, Bitcoin Block, 0xb0
bitcoin-tx, Bitcoin Tx, 0xb1
zcash-block, Zcash Block, 0xc0
zcash-tx, Zcash Tx, 0xc1
stellar-block, Stellar Block, 0xd0
stellar-tx, Stellar Tx, 0xd1

1 codec description code
35 sha3-384 sha3-256 0x15 0x16
36 sha3-512 sha3-384 0x14 0x15
37 shake-128 sha3-512 0x18 0x14
38 shake-128 0x18
39 shake-256 0x19
40 keccak-224 0x1A
41 keccak-256 0x1B
46 blake2b-16 blake2b-8 Blake2b consists of 64 output lengths that give different hashes 0xb202 0xb201
47 blake2b-24 blake2b-16 0xb203 0xb202
48 blake2b-32 blake2b-24 0xb204 0xb203
49 blake2b-32 0xb204
50 blake2b-40 0xb205
51 blake2b-48 0xb206
52 blake2b-56 0xb207
188
189
190
191
192
193
194