Documentation
¶
Overview ¶
Command cross_runtime_oracle emits a deterministic Lens transcript covering DKG -> Sign -> Aggregate end-to-end, for cross-language byte-equality validation against the C++ port at luxcpp/crypto/lens/.
JSON shape:
{
"curve": "<>",
"n": int,
"t": int,
"seed": "<>",
"message_hex": "<>",
"salt_hex": "<32-byte hex>",
"signers": [int], // sorted ascending
"group_key_hex": "<>",
"shares_hex": { id -> hex },
"verification_shares_hex": { id -> hex },
"lambda_full_hex": { id -> hex }, // λ over the full party set
"lambda_signers_hex": { id -> hex }, // λ over the signing subset
"commits_D_hex": { id -> hex },
"commits_E_hex": { id -> hex },
"responses_z_hex": { id -> hex },
"sig_R_hex": "<>",
"sig_z_hex": "<>"
}
All hex outputs are byte-equal to the canonical Go encodings:
- Scalars: filippo.io / decred / gtank MarshalBinary
- Points: filippo.io / decred / gtank MarshalBinary (compressed)
The replay harness (luxcpp/crypto/lens/test/cpp/cross_runtime_test.cpp) loads this JSON and asserts byte-equal end-to-end.
Click to show internal directories.
Click to hide internal directories.