Skip to main content

Crate reallyme_codec

Crate reallyme_codec 

Source
Expand description

§reallyme-codec

Codec-only utilities used by ReallyMe and DID tooling: base encodings, canonical JSON/CBOR serialization, multicodec lookup, multikey handling, and PEM text armor. SHA-256 is used for content identifiers. This crate does not expose signing, encryption, or key generation.

Modules§

base64
Standard (RFC 4648) base64 encode/decode.
base64url
URL-safe (RFC 4648 §5) base64 encode/decode without padding.
cbor
Deterministic generic CBOR, DAG-CBOR, and content-identifier helpers.
hex
Canonical lowercase hexadecimal encode/decode helpers.
jcs
JSON Canonicalization Scheme helpers.
multibase
Multibase self-describing base encodings.
multicodec
Semantic multicodec registry lookup, prefix handling, and metadata. Semantic layer for multicodec lookup operations.
multikey
Multikey encoding/parsing that binds an algorithm to opaque key bytes.
pem
PEM text armor parsing and encoding.