mirror of
https://github.com/logos-storage/multicodec.git
synced 2026-01-02 21:43:10 +00:00
Blake2s and Blake2b have different initial vectors states for different lengths, this means that for each chosen output length it looks like completely different hash function. This proposal allocated 64 values for Blake2b and 32 values for Blake2s as those are the ranges the outputs can be chosen from. The codes will require 3 bytes to write down as varints.
89 lines
3.6 KiB
CSV
89 lines
3.6 KiB
CSV
codec, description, code
|
|
|
|
miscelaneous,,
|
|
bin, raw binary, 0x55
|
|
|
|
bases encodings,,
|
|
base1, unary, 0x01
|
|
base2, binary (0 and 1), 0x55
|
|
base8, octal, 0x07
|
|
base10, decimal, 0x09
|
|
base16, hexadecimal, 0x
|
|
base32, rfc4648, 0x
|
|
base32hex, rfc4648, 0x
|
|
base58flickr, base58 flicker, 0x
|
|
base58btc, base58 bitcoin, 0x
|
|
base64, rfc4648, 0x
|
|
base64url, rfc4648, 0x
|
|
|
|
serialization formats,,
|
|
cbor, CBOR, 0x
|
|
bson, Binary JSON, 0x
|
|
ubjson, Universal Binary JSON, 0x
|
|
protobuf, Protocol Buffers, 0x
|
|
capnp, Cap-n-Proto, 0x
|
|
flatbuf, FlatBuffers, 0x
|
|
rlp, recursive length prefix, 0x60
|
|
|
|
multiformats,,
|
|
multicodec, , 0x30
|
|
multihash, , 0x31
|
|
multiaddr, , 0x32
|
|
multibase, , 0x33
|
|
|
|
multihashes,,
|
|
sha1, , 0x11
|
|
sha2-256, , 0x12
|
|
sha2-512, , 0x13
|
|
sha3-224, , 0x17
|
|
sha3-256, , 0x16
|
|
sha3-384, , 0x15
|
|
sha3-512, , 0x14
|
|
shake-128, , 0x18
|
|
shake-256, , 0x19
|
|
keccak-224, , 0x1A
|
|
keccak-256, , 0x1B
|
|
keccak-384, , 0x1C
|
|
keccak-512, , 0x1D
|
|
,, Note: keccak has variable output length. The number specifies the core length
|
|
blake2b-lenX, , 0xb201-0xb240
|
|
blake2s-lenX, , 0xb241-0xb260
|
|
reserved for apps, appl specific range, 0x4000-0x40f0
|
|
|
|
multiaddrs,,
|
|
ip4, , 0x04
|
|
ip6, , 0x29
|
|
tcp, , 0x06
|
|
udp, , 0x0111
|
|
dccp, , 0x21
|
|
sctp, , 0x84
|
|
udt, , 0x012D
|
|
utp, , 0x012E
|
|
ipfs, , 0x2A
|
|
http, , 0x01E0
|
|
https, , 0x01BB
|
|
ws, , 0x01DD
|
|
onion, , 0x01BC
|
|
|
|
archiving formats,,
|
|
tar, , 0x
|
|
zip, , 0x
|
|
|
|
image formats,,
|
|
png, , 0x
|
|
jpg, , 0x
|
|
|
|
video formats,,
|
|
mp4, , 0x
|
|
mkv, , 0x
|
|
|
|
IPLD formats,,
|
|
dag-pb, MerkleDAG protobuf, 0x70
|
|
dag-cbor, MerkleDAG cbor, 0x71
|
|
eth-block, Ethereum Block (RLP), 0x90
|
|
eth-tx, Ethereum Tx (RLP), 0x91
|
|
bitcoin-block, Bitcoin Block, 0xb0
|
|
bitcoin-tx, Bitcoin Tx, 0xb1
|
|
stellar-block, Stellar Block, 0xd0
|
|
stellar-tx, Stellar Tx, 0xd1
|