Expand description
KeyCard — the in-memory representation of a decoded MK card.
Field semantics mirror the wire-format payload from
design/SPEC_mk_v0_1.md §3.2. The bytecode-layer encode/decode
lives in crate::bytecode (Phase 4); the string-layer wrapper
(BCH + chunking) wires up the public encode/decode functions
below in Phase 5.
Structs§
- KeyCard
- In-memory representation of one decoded MK card.
Functions§
- decode
- Decode one or more
mk1-prefixed strings into aKeyCard. - encode
- Encode a
KeyCardinto one or moremk1-prefixed strings. - encode_
with_ chunk_ set_ id - Like
encode, with an explicitchunk_set_idoverride.