Expand description
Multicodec prefix table and lookup for tagging key and hash material with its algorithm.
Structs§
- Codec
Lookup Result - Codec metadata resolved from a multicodec prefix.
- Codec
Spec - Static metadata for one multicodec entry.
Enums§
- Codec
Prefix Error - Failure to strip a public-key multicodec prefix.
- Codec
Tag - Multicodec table tag.
- KeyLength
- Expected payload length without conflating variable keys and non-key codecs.
- KeyMaterial
Kind - Key-material class for codecs that carry raw key bytes.
Statics§
- MULTICODEC_
TABLE - Single source of truth for multicodec prefixes
Functions§
- lookup_
codec_ prefix - Lookup multicodec prefix → codec metadata
- strip_
codec_ prefix - Strip a recognized public-key multicodec prefix from a complete key.