From 8b8161834b3661641de5d6b9357e0c89f95c5af4 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 27 Jan 2020 17:53:46 -0800 Subject: [PATCH] table: update blake3 * Renamed from blake3-256 to blake3. We only need a single code because shorter hashes are just prefixes of longer hashes. * Changed the code to 0x0202. This will turn into a two byte code, the previous code was 3 bytes when encoded. The other blake algorithms are in the 3 byte range because we needed _many_ codes. --- table.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.csv b/table.csv index fa5faec..7e37ea8 100644 --- a/table.csv +++ b/table.csv @@ -99,6 +99,7 @@ p2p-websocket-star, multiaddr, 0x01df, http, multiaddr, 0x01e0, json, serialization, 0x0200, JSON (UTF-8-encoded) messagepack, serialization, 0x0201, MessagePack +blake3, multihash, 0x0202, BLAKE3 has a default 32 byte output length. The maximum length is (2^64)-1 bytes. x11, multihash, 0x1100, sm3-256, multihash, 0x534d, blake2b-8, multihash, 0xb201, Blake2b consists of 64 output lengths that give different hashes @@ -197,7 +198,6 @@ blake2s-232, multihash, 0xb25d, blake2s-240, multihash, 0xb25e, blake2s-248, multihash, 0xb25f, blake2s-256, multihash, 0xb260, -blake3-256, multihash, 0xb261, BLAKE3 has a default 32 byte output length. The maximum length is (2^64)-1 bytes. skein256-8, multihash, 0xb301, Skein256 consists of 32 output lengths that give different hashes skein256-16, multihash, 0xb302, skein256-24, multihash, 0xb303,