Skip to main content

encode

Function encode 

Source
pub fn encode(card: &KeyCard) -> Result<Vec<String>>
Expand description

Encode a KeyCard into one or more mk1-prefixed strings.

Multi-chunk encodings draw a fresh 20-bit chunk_set_id from the system CSPRNG. Use encode_with_chunk_set_id for byte-deterministic output (vector regeneration, conformance tests).