From 36bd99e827a67405bbbfc0387b5b9a7567d77c50 Mon Sep 17 00:00:00 2001 From: David Dias Date: Mon, 7 Nov 2016 20:40:58 +0000 Subject: [PATCH] docs: note about keccak --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6da1544..50ebb29 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,9 @@ Another useful scenario is when using the multicodec-packed as part of the keys It is worth noting that multicodec-packed works very well in conjunction with [multihash](https://github.com/multiformats/multihash) and [multiaddr](https://github.com/multiformats/multiaddr), as you can prefix those values with a multicodec-packed to tell what they are. -## Multicodec-Packed Protocol Tables +## MulticodecProtocol Tables -Multicodecuses "protocol tables" to agree upon the mapping from one multicodec code (a single varint). These tables can be application specific, though -- like [with](https://github.com/multiformats/multihash) [other](https://github.com/multiformats/multibase) [multiformats](https://github.com/multiformats/multiaddr) -- we will keep a globally agreed upon table with common protocols and formats. +Multicodec uses "protocol tables" to agree upon the mapping from one multicodec code (a single varint). These tables can be application specific, though -- like [with](https://github.com/multiformats/multihash) [other](https://github.com/multiformats/multibase) [multiformats](https://github.com/multiformats/multiaddr) -- we will keep a globally agreed upon table with common protocols and formats. ## Multicodec table @@ -102,6 +102,7 @@ keccak-224, , 0x1A keccak-256, , 0x1B keccak-384, , 0x1C keccak-512, , 0x1D +Note: keccak has variable output length, instead the number specifies the core length blake2b, , 0x40 blake2s, , 0x41 reserved for apps, appl specific range, 0x4000-0x40f0 @@ -148,6 +149,7 @@ stellar-block, Stellar Block, 0xd0 stellar-tx, Stellar Tx, 0xd1 ``` + ## Implementations - [go](https://github.com/multiformats/go-multicodec/)