mirror of
https://github.com/fenleon/open-madrid.git
synced 2026-10-22 16:12:35 +00:00
The verified pure-python sign model (sig_hand/sig_init/sig_tail) is now transcribed to Kotlin: NacSignTablesData.kt carries 102 tables as generated base64 source (ClearAdiTablesData precedent, provenance header), NacSign.kt runs the pipeline (u32tab → scatter → perms → keygen → phases B–E → rounds → genBufs → threshold-cipher tail), and NacValidation.mint computes sig16 internally — the full 517-B stamp from Kotlin inputs. Pinned by 5 synthetic LCG vectors against the python model (208 tests, 0 failed; table images re-decoded and compared table-by-table, 32/32). Spec rev 31; README status updated. NacMint: minimal public facade for consumers (the imessage tool wires ClearAnisetteProvider + the mint behind its AnisetteSource/ ValidationDataSource seams).