Tool Verification Scope & Threat Model
The DT.gl Seed Entropy and Multisig Quorum Lab audits physical dice and coin randomness using Shannon entropy and Pearson chi-square bias statistics, demonstrates polynomial Shamir Secret Sharing over finite field GF(256) via Lagrange interpolation, and models M-of-N hardware multisig versus threshold MPC survival under coercion, fire loss, and firmware compromise.
Verification Scope & Offline Cryptography Boundary
This lab verifies physical dice bias, finite-field GF(2^8) Shamir polynomial math (0x11B), and custody fault trees entirely inside volatile browser memory under connect-src 'none'. Rejection sampling (discard >= 252) eliminates modulo bias when simulating base-6 dice from crypto.getRandomValues.
Entropy Math & GF(256) Shamir Specifications
Combinatorial Capacity: C = N * log2(b) bits
- Base-2 Coin Flip : log2(2) = 1.000000 bits/flip -> 256 flips = 256.0 bits
- Base-6 Casino Die: log2(6) = 2.584963 bits/roll -> 99 rolls = 255.91 bits (use 100+ -> 258.5 bits)
Chi-Square Uniformity Cutoffs (p = 0.01 critical warning threshold):
- Dice (df = 5): chi^2 > 15.086 flags mechanical die weight bias or patterned human typing
- Coin (df = 1): chi^2 > 6.635 flags coin weight or entry bias
Shamir Field Polynomials over GF(2^8) = F_2[x] / (x^8 + x^4 + x^3 + x + 1) [0x11B]:
- Add/Sub: a XOR b | Inverse: a^-1 = a^254 | Lagrange x=0 recovers S[r] identically at >= k shares
- Signing-Time Nonce Defense (
Anti-Exfil): Entropy conditioning does not stop compromised firmware from leaking seeds via biasedECDSA/Schnorrnonces (Dark Skippyclass). Prefer devices implementing host-committedPay-to-ContractAnti-Exfil(Jade,BitBox02) so neither host nor hardware signer unilaterally picksR_final.
Custody Architecture Trade-Off Matrix
| Architecture | Loss Tolerance | Silicon Diversity | Coercion & Metadata Overhead |
|---|---|---|---|
| 1-of-1 HW + Passphrase | 0 device fault tolerance | None (1 vendor SE trusted 100%) | Decoy wallet only; passphrase needs >=60-80 bits against GPU brute-force |
| SLIP-39 2-of-3 Shamir | Survives 1 lost share | None (reconstructs 1 key on 1 signer) | Resists single-site theft if split offsite; zero descriptor needed |
| 2-of-3 Multi-Vendor Multisig | Survives 1 lost key | Max (Coldcard + Safe 7 + Jade) | Mandatory: archive complete BIP-380 output descriptor alongside every seed! |
| 2-of-2 / 2-of-3 MPC-TSS | Vendor recovery kit dependent | Often coupled to mobile + cloud enclave | Zero on-chain script overhead; weak if phone biometrics + SMS reset co-signer |
- Offline Verification & Next Steps: Confirm
connect-src 'none'in DevTools Network headers while generating and interpolatingGF(256)shards. Review hardware silicon specs (TROPIC01vs NDA SEs) in Self-Custody & Wallet Silicon Matrix and suppress physical broker PII via Location & Data-Broker Opt-Out Generator.
Frequently Verified Technical Questions
How many 6-sided casino dice rolls are mathematically required for a 24-word BIP-39 seed?
Each fair 6-sided die roll contributes log2(6), or approximately 2.58496 bits of raw combinatorial entropy. Reaching full 256-bit cryptographic security for a 24-word BIP-39 mnemonic requires a minimum of 99 independent fair rolls (255.91 bits), with 100 rolls recommended (258.50 bits) before SHA-256 conditioning.
Primary Reference: NIST SP 800-90B Entropy Sources
Why does Shamir Secret Sharing (SLIP-39) still leave a single point of failure compared to native multisig?
Shamir Secret Sharing eliminates single-backup physical loss during storage, because k-of-n polynomial shares must be combined via Lagrange interpolation. However, at transaction signing time those shares reconstruct a single master private key in one device's memory, leaving full exposure to a compromised host UI or single-vendor firmware flaw.
Primary Reference: SLIP-0039 Shamir Backup Specification
Why must rejection sampling be used when generating synthetic base-6 dice from random bytes?
An 8-bit unsigned byte takes 256 equiprobable values (0 through 255), and 256 is not evenly divisible by 6 (256 equals 42 times 6 plus 4). Computing raw byte modulo 6 overweights outcomes 1 through 4 slightly; discarding byte values 252 through 255 eliminates modulo bias completely.
Primary Reference: NIST SP 800-90A Rev. 1 Random Number Generation
Why is wallet output descriptor backup mandatory alongside seed phrases in Bitcoin multisig?
In a 2-of-3 Bitcoin P2WSH or Taproot Miniscript quorum, knowing two of the three 24-word mnemonics is insufficient to spend funds! Reconstructing the locking script hash and derivation paths requires every participant's extended public key (xpub), master fingerprint, and script template via the BIP-380 output descriptor.
Primary Reference: BIP-380 Output Script Descriptors
Cryptographic & Editorial Revision Ledger
Published: | Last Verified:
-
2026-11-11: V1 operator manual covering FIPS 180-4 SHA-256 dice conditioning, GF(2^8) 0x11B Shamir polynomial interpolation, Anti-Exfil nonce commitments, and quorum fault modeling.