1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! String layer — `KeyCard` ↔ `Vec<String>` (BCH + chunked-header reassembly).
//!
//! Wraps the bytecode-layer codec ([`crate::bytecode`]) with the
//! BIP 93–derived BCH error-correction layer (forked from `md-codec` per
//! `design/DECISIONS.md` D-13) and the closure-locked string-layer header
//! structure (per Q-5 — 2-symbol single-string + 8-symbol chunked).
//!
//! Submodules:
//!
//! - [`bch`]: BCH polymod, syndrome decoder, and bech32-alphabet helpers.
//! - [`bch_decode`]: syndrome-based BM/Forney decoder (impl detail of
//! `bch`). `pub(crate)` for cross-module test fixture access; not part
//! of the user-facing API.
//! - [`header`]: 5-bit-symbol-aligned `StringLayerHeader`
//! (`SingleString` + `Chunked` variants).
//! - [`chunk`]: stream split + reassemble with `cross_chunk_hash`
//! integrity check.
//!
//! The public entry points wired up here ([`encode`] / [`encode_with_chunk_set_id`]
//! / [`decode`]) are the layer-3 boundary; `crate::key_card` re-exports them.
pub
pub use ;
pub use ;
pub use StringLayerHeader;
pub use ;