Commit Graph

267 Commits

Author SHA1 Message Date
Tomáš Mládek cb1c349bc8
add / reserve KangarooTwelve in table.csv (#192) 2020-09-04 14:31:57 +10:00
Alexander Schlarb e0e95825a0
Add reserved code range for private use by applications (#191)
See GH/multiformats/multicodec#158. Changes are analogous to those proposed in GH/multiformats/multicodec#159.
2020-08-28 14:14:39 +10:00
Orie Steele ad0c435aa8
feat: add jose and cose key curves 2020-08-21 14:38:25 +10:00
Steven Allen d39f7af445
Merge pull request #187 from oed/patch-2
Define CIDv1 as a mutlicodec
2020-08-10 11:01:54 -07:00
Joel Thorstensson fd02568a20
Reserve CIDv2 and CIDv3 2020-08-10 09:04:00 +02:00
Joel Thorstensson 774164e5f3
Define CIDv1 as a mutlicodec 2020-08-07 13:58:18 +02:00
Rod Vagg 00960cf9a1
Merge pull request #182 from multiformats/rvagg/naming-rules
Naming restrictions (doc & validate), rename `0xcert` to be code-friendly
2020-07-21 07:34:34 +10:00
Rod Vagg f07e41eaf7
Naming restrictions (doc & validate), rename `0xcert` to be code-friendly
Fixes: https://github.com/multiformats/multicodec/issues/181
Ref: https://github.com/multiformats/multicodec/pull/177
2020-07-20 14:04:37 +10:00
Steven Allen e4e8a0e81a
Merge pull request #177 from fulldecent/patch-1
Add 0xcert asset imprints
2020-05-26 20:25:31 -07:00
William Entriken 049f35df2f
Add 0xcert asset imprints 2020-05-26 21:58:25 -04:00
Rod Vagg 31aa3ed198 Add Bitcoin Witness Commitment (0xb2) 2020-05-26 14:53:47 +10:00
Michael Vandeberg 840ffc16ef
Add ripemd definitions (#175)
Update table.csv with ripemd definitions
2020-05-20 12:40:31 +02:00
Rod Vagg bf5c4806e7 add filecoin commitment merkle root codecs
These describe roots & nodes of a merkle tree, not the underlying
data. In the case of CommP and CommD they are binary merkle trees
using sha2-256-trunc2. For CommR they are novel structure merkle
trees using poseidon-bls12_381-a2-fc1.

All nodes of the respective merkle trees could also be described
using this codec if required, all the way to base data. It is
anticipated that the primary use will be restricted to the roots.

Ref: https://github.com/multiformats/multicodec/pull/161
Closes: #161
Closes: #167
2020-05-12 16:16:46 +10:00
Rod Vagg 38ef2a3373 Add two Poseidon Filecoin variant multihashes
Reserving the 0xb400 range for Poseidon variants, allowing FIL to
iterate on the `fcX` extension of the name where they stay with
BLS12-381 and arity=2. High security variant is for extra circuits
that are usable in case new attacks arise from the standard variant.

Ref: https://github.com/multiformats/multicodec/pull/161
Ref: https://eprint.iacr.org/2019/458.pdf
2020-05-12 16:05:50 +10:00
Rod Vagg 0aa8f5d132 add sha2-256-trunc2 multihash: 0x1012
SHA2-256 with the trailing 2 bits zeroed out. Primary current use is
Filecoin.

Ref: https://github.com/multiformats/multicodec/pull/161
2020-05-12 16:04:25 +10:00
Tobias 5d3a023767 feat: add bls12-381 public keys 2020-05-12 16:00:04 +10:00
Joel Thorstensson 4422c4d685 Update code 2020-04-20 16:46:11 +02:00
Joel Thorstensson 67156283e1 Add dag-jose, -cose
See discussion here: https://github.com/ipld/specs/issues/251
2020-04-20 16:46:11 +02:00
Steven Allen bb0f8b2bb9
Merge pull request #144 from dmitrizagidulin/x25519-pub
Add X25519 (Curve25519) pub key support
2020-03-09 11:03:11 -07:00
Dmitri Zagidulin 2497c44928
Update table.csv (fix order of x25519-pub entry).
Co-Authored-By: Dave Longley <dlongley@digitalbazaar.com>
2020-03-09 11:28:11 -04:00
Dmitri Zagidulin dfa6b42776 Add X25519 (Curve25519) pub key support 2020-03-09 11:18:09 -04:00
Steven Allen e6e7b7a051
Merge pull request #160 from awoie/secp256k1-pub
add support for secp256k1-pub
2020-03-05 10:27:37 -08:00
Oliver Terbu 8302a5fad5 added secp256k1-pub entry 2020-02-04 00:06:46 +01:00
Raúl Kripalani 06a69e5073
add 0x0301: libp2p-peer-record mapping. (#157) 2020-01-31 18:25:32 +00:00
Steven Allen 18e8a24af9
Merge pull request #154 from nvzqz/add-blake3
Add entry for BLAKE3 with 256-bit output (default)
2020-01-28 09:24:08 -08:00
Steven Allen 713350946b
switch blake3 to a 1 byte code
It's likely secure and people are also likely to use it in content addresses where size really matters.
2020-01-27 18:28:12 -08:00
Steven Allen 8b8161834b
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.
2020-01-27 17:53:46 -08:00
Nikolai Vazquez b176bbeae7 Add entry for BLAKE3 with 256-bit output (default)
BLAKE3 is a fast cryptographic hash function. It is only one algorithm
with no variants. See https://github.com/BLAKE3-team/BLAKE3 for details.
2020-01-26 02:35:45 -05:00
Steven Allen 32c52e340e
Merge pull request #152 from studyzy/master
add gm sm3-256 multihash to table
2019-12-17 18:52:51 +01:00
studyzy 0616142bce add gm sm3-256 multihash to table 2019-12-13 16:02:10 +08:00
Volker Mische aa370d6bb2 Make README reflect what multicodec currently is used for
Multicodec changed over time what it actually is. The README should reflect
the current state on how it is used.

Closes #133.
2019-10-29 12:01:03 +01:00
Steven Allen 545181e803
Merge pull request #145 from multiformats/feat/tls
add a TLS multicodec
2019-08-12 08:02:36 -07:00
Steven Allen 8dd1bfb9a9 add a TLS multicodec 2019-08-07 12:38:35 -07:00
Steven Allen ba906993c2
Merge pull request #140 from filips123/zeronet-support
Add ZeroNet site address
2019-07-28 16:02:45 -07:00
Filip Š f63573a5e4
Change ZeroNet prefix to 0xe6 2019-07-28 22:39:59 +02:00
Filip Š 7fb3c13810
Merge branch 'master' into zeronet-support 2019-07-28 21:53:01 +02:00
Filip Š 2db1aa0f55
Update ZeroNet to namespace type and reorder it 2019-07-26 23:19:25 +02:00
Steven Allen dac00691c9
Merge pull request #123 from Kenadia/messagepack
Add MessagePack serialization format.
2019-07-24 18:03:02 -07:00
Kenneth Schiller 14dabd507b
Merge branch 'master' into messagepack 2019-07-24 17:45:25 -07:00
Steven Allen c59a75cabc
Merge pull request #141 from Kenadia/patch-2
Add JSON
2019-07-24 15:15:21 -07:00
Kenneth Schiller 92eb0c5f03
Fix order 2019-07-24 15:05:08 -07:00
Kenneth Schiller 0de0bbb7d2
Merge branch 'master' into messagepack 2019-07-24 15:04:24 -07:00
Kenneth Schiller 1c023376c2
Add JSON 2019-07-24 15:02:44 -07:00
Kenneth Schiller 6b91f70c8f
Update table.csv 2019-07-24 14:58:25 -07:00
Filip Š c404851bb2 Add ZeroNet site address 2019-07-23 11:13:56 +02:00
Steven Allen e7c6ef591d
Merge pull request #136 from mcdee/ipns
Add IPNS namespace
2019-07-03 16:06:18 -07:00
Steven Allen a81134543b
Merge branch 'master' into ipns 2019-07-03 16:05:22 -07:00
Derk-Jan Karrenbeld 413015461e Add Ruby implementation 2019-06-24 12:36:00 +02:00
Kenneth Schiller 6eb8e9a3c1
Merge branch 'master' into messagepack 2019-06-19 13:28:27 -07:00
Jim McDonald d018e29a93 Add IPNS namespace 2019-06-09 09:49:57 +01:00