Adding multicodec for aes-gcm (#314)

* Adding multicodec for aes-gcm 

Adding aes-gcm-256 multicodec with category encryption.

* Moved aes-gcm-256 to 0x2000

code                         varint
8192 (0x2000)   => 10000000 01000000 (0x8040)

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
This commit is contained in:
Guillaume Michel - guissou 2023-02-23 00:17:34 +00:00 committed by GitHub
parent 4e8b009cb1
commit 47ba6fdfc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,6 +169,7 @@ p256-priv, key, 0x1306, draft, P-256
p384-priv, key, 0x1307, draft, P-384 private key
p521-priv, key, 0x1308, draft, P-521 private key
kangarootwelve, multihash, 0x1d01, draft, KangarooTwelve is an extendable-output hash function based on Keccak-p
aes-gcm-256, encryption, 0x2000, draft, AES Galois/Counter Mode with 256-bit key and 12-byte IV
silverpine, multiaddr, 0x3f42, draft, Experimental QUIC over yggdrasil and ironwood routing protocol
sm3-256, multihash, 0x534d, draft,
blake2b-8, multihash, 0xb201, draft, Blake2b consists of 64 output lengths that give different hashes

1 name tag code status description
169 p384-priv key 0x1307 draft P-384 private key
170 p521-priv key 0x1308 draft P-521 private key
171 kangarootwelve multihash 0x1d01 draft KangarooTwelve is an extendable-output hash function based on Keccak-p
172 aes-gcm-256 encryption 0x2000 draft AES Galois/Counter Mode with 256-bit key and 12-byte IV
173 silverpine multiaddr 0x3f42 draft Experimental QUIC over yggdrasil and ironwood routing protocol
174 sm3-256 multihash 0x534d draft
175 blake2b-8 multihash 0xb201 draft Blake2b consists of 64 output lengths that give different hashes