Merge pull request #25 from multiformats/feat/blake-codes

Add blake range codes
This commit is contained in:
Jeromy Johnson 2016-12-10 13:02:40 -08:00 committed by GitHub
commit 7cd0e25dc0

View File

@ -46,8 +46,8 @@ keccak-256, , 0x1B
keccak-384, , 0x1C
keccak-512, , 0x1D
,, Note: keccak has variable output length. The number specifies the core length
blake2b, , 0x40
blake2s, , 0x41
blake2b-X,"X is length in bits, can take values from 8 to 512 in 8 bit increments","0xb201-0xb240 (0xb201 - blake2b-8, 0xb240 - blake2b-512)"
blake2s-X,"X is length in bits, can take values from 8 to 256 in 8 bit increments","0xb241-0xb260 (0xb241 - blake2s-8, 0xb260 - blake2b-256)"
reserved for apps, appl specific range, 0x4000-0x40f0
multiaddrs,,

1 codec description code
46 reserved for apps appl specific range 0x4000-0x40f0
47 multiaddrs
48 ip4 0x04
49 ip6 0x29
50 tcp 0x06
51 udp 0x0111
52 dccp 0x21
53 sctp 0x84