Envelope MasterSeal: a Merkle commitment over fifteen sealed documents
Space plays or pauses. Left and right arrows move five seconds. Click a chapter to jump.
Notation and computed values
Construction shown
- Fingerprint
- fi = SHA3-256( canon(Di) )
- PublicSeal
- σi = Sign( ski, fi ) on secp256k1, xi = fi
- SecretSeal
- Ci = [fi]G + [ρi]H on BN254 G1, xi = SHA3-256( enc(Ci) )
- Leaf
- ℓi = H( 0x00 ‖ i ‖ classi ‖ xi )
- Interior node
- h = H( 0x01 ‖ hL ‖ hR ). An odd node is promoted unchanged.
- MasterSeal
- M = H( 0x02 ‖ env_id ‖ n ‖ root ), σM = Sign( sk, M )
- Verification
- M* = M, and x( [u1]G + [u2]Q ) ≡ r (mod n) with u1 = M·s−1, u2 = r·s−1
Computed in this page
- Merkle root
- MasterSeal M
- Signature r
- Signature s
- Check on M
- Altered M′
- Distance M, M′
- Distance ℓ7, ℓ′7
- Check on M′
Reading notes
- This is an illustrative construction for discussion. The domain tags, the leaf encoding and the Pedersen form of the SecretSeal commitment show one sound way to apply a Merkle tree to an Envelope. They are not a statement of the production specification.
- Every digest, signature and commitment is computed in this page with SHA3-256 (FIPS 202), secp256k1 and BN254. Keys and blinding scalars are throwaway demonstration values.
- The curve plane draws y² = x³ + b over the real numbers. The cryptography runs over a prime field, where the same chord-and-tangent rule holds but the points do not trace a visible curve. Point positions are projected for display.
- The MasterSeal is shown with its ECDSA signature. The hybrid suite pairs it with ML-DSA-65, and both must verify. A lattice signature has no curve to draw.
- Collision, as used here, means a presented value equal to a sealed one. It is the expected result of an honest verification. No collision means the presented Envelope is not the sealed one.