mirror of
https://github.com/logos-storage/multicodec.git
synced 2026-01-04 22:43:10 +00:00
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.
This commit is contained in:
parent
b176bbeae7
commit
8b8161834b
@ -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,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user