Skip to content

Commit 3bc7f4c

Browse files
authored
fix: typo in README and es284 -> es384 in table (#379)
Signed-off-by: Victor Dods <[email protected]>
1 parent 8fe5ea1 commit 3bc7f4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The process to add a new multicodec to the table is the following:
8282

8383
This ["first come, first assign"](https://github.com/multiformats/multicodec/pull/16#issuecomment-260146609) policy is a way to assign codes as they are most needed, without increasing the size of the table (and therefore the size of the multicodecs) too rapidly.
8484

85-
The first 127 bits are encoded as a single-byte varint, hence they are reserved for the most widely used multicodecs. So if you are adding your own codec to the table, you most likely would want to ask for a codec bigger than `0x80`.
85+
The first 127 values are encoded as a single-byte varint, hence they are reserved for the most widely used multicodecs. So if you are adding your own codec to the table, you most likely would want to ask for a codec bigger than `0x80`.
8686

8787
Codec names should be easily convertible to constants in common programming languages using basic transformation rules (e.g. upper-case, conversion of `-` to `_`, etc.). Therefore they should contain alphanumeric characters, with the first character being alphabetic. The primary delimiter for multi-part names should be `-`, with `_` reserved for cases where a secondary delimiter is required. For example: `bls12_381-g1-pub` contains 3 parts: `bls12_381`, `g1` and `pub`, where `bls12_381` is "BLS12 381" which is not commonly written as "BLS12381" and therefore requires a secondary separator.
8888

table.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ arweave-ns, namespace, 0xb29910, draft, Arwe
575575
subspace-ns, namespace, 0xb39910, draft, Subspace Network Namespace
576576
kumandra-ns, namespace, 0xb49910, draft, Kumandra Network Namespace
577577
es256, varsig, 0xd01200, draft, ES256 Signature Algorithm
578-
es284, varsig, 0xd01201, draft, ES384 Signature Algorithm
578+
es384, varsig, 0xd01201, draft, ES384 Signature Algorithm
579579
es512, varsig, 0xd01202, draft, ES512 Signature Algorithm
580580
rs256, varsig, 0xd01205, draft, RS256 Signature Algorithm
581581
es256k-msig, multisig, 0xd01300, draft, ES256K (secp256k1) Signature as Multisig

0 commit comments

Comments
 (0)