Post-Quantum Signature Evaluation for Zenon
TL;DR: In distributed ledgers, witness bandwidth and state bloat dominate raw CPU verification time. Pairing
ML-DSA-44(FIPS 204) as Zenon's day-one standard withFN-DSA-512(FIPS 206) for high-density throughput andSLH-DSA-SHAKE-128s(FIPS 205) for hash-only vaults fits comfortably inside Zenon's existing8.0 MiBMaxMomentumContentByteslimit (2.4%–6.5%utilization at 200 user blocks per 10-second Momentum when combined with Account-Chain Public-Key Caching).
Byte-Exact Candidate Comparison
All byte sizes below reflect finalized NIST FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA), and FIPS 206 (FN-DSA padded format) specifications:
| Scheme | Standard | NIST Cat. | Private Seed | Public Key (PK) | Signature (Sig) | 1st-Tx Witness (PK + Sig) | PK-Cached Repeat Tx (1B alg + Sig) | Typical Verify CPU (1 Core) |
|---|---|---|---|---|---|---|---|---|
Ed25519 (Current) | RFC 8032 | 0 (Broken) | 32 B | 32 B | 64 B | 96 B | 64 B | ~35 µs |
ML-DSA-44 | FIPS 204 | 2 (~AES-128+) | 32 B | 1,312 B | 2,420 B | 3,734 B | 2,421 B | ~45 µs |
ML-DSA-65 | FIPS 204 | 3 (~AES-192) | 32 B | 1,952 B | 3,309 B | 5,263 B | 3,310 B | ~75 µs |
ML-DSA-87 | FIPS 204 | 5 (~AES-256) | 32 B | 2,592 B | 4,627 B | 7,221 B | 4,628 B | ~115 µs |
FN-DSA-512 (Falcon) | FIPS 206 | 1 (~AES-128) | 32–64 B | 897 B | 666 B | 1,565 B | 667 B | ~35 µs |
FN-DSA-1024 | FIPS 206 | 5 (~AES-256) | 32–64 B | 1,793 B | 1,280 B | 3,075 B | 1,281 B | ~70 µs |
SLH-DSA-SHAKE-128s | FIPS 205 | 1 (SHAKE) | 48 B (3×16B) | 32 B | 7,856 B | 7,890 B | 7,857 B | ~1,800 µs |
SLH-DSA-SHAKE-128f | FIPS 205 | 1 (SHAKE) | 48 B | 32 B | 17,088 B | 17,122 B | 17,089 B | ~4,200 µs |
XMSS-SHAKE_10_256 | SP 800-208 | Stateful Hash | 32 B + index | 64 B | 2,500 B | 2,564 B | 2,500 B | ~400 µs |
(Note: "1st-Tx Witness" includes the 1-byte algID prefix on both PublicKey and Signature; "PK-Cached Repeat Tx" omits PublicKey and carries only [algID] || Signature.)
Deep Dive by Candidate Family
1. Why ML-DSA-44 (0x01) Is the Ideal Day-One Default
- Zero-CGo Go 1.26 Standard Library Support:
go-zenon-v1targetsgo 1.26.0with a strict policy of minimal external dependencies (4direct dependencies ingo.mod, zero CGo). Go 1.26 ships a constant-time, FIPS 140-3 audited pure-Go implementation incrypto/mldsa(mldsa.MLDSA44(),mldsa.NewPrivateKey(params, seed32),mldsa.Verify). - Why
ML-DSA-44OverML-DSA-65for L1 Transactions:ML-DSA-44targets NIST Security Category 2 (comparable to breaking SHA-256 collision / AES-128), matching the exact 128-bit quantum security ceiling already set by Zenon'sSHA3-256hashes and 24-wordBIP-39seeds! Moving fromML-DSA-44toML-DSA-65inflates every cached transaction by+889 bytes(+37%) (2,420 B → 3,309 B) and initial public keys by+640 bytes(+49%) without raising Zenon's end-to-end security floor aboveSHA3-256. - Simple Integer Signing for Hardware Wallets:
Unlike Falcon,
ML-DSA-44signing uses only uniform rejection sampling and 32-bit modular arithmetic (q = 8,380,417), making constant-time Ledger, Trezor, and Dart/Flutter (syrius) implementations straightforward.
2. Why FN-DSA-512 (0x02) Should Be Added as the Compact Tier
- 3.6× Smaller Repeat Signatures (
666 Bvs.2,420 B): With Account-Chain Public-Key Caching active, a repeatFN-DSA-512AccountBlockadds only667 bytesof signature witness—less than one-third ofML-DSA-44and small enough to pack 8,000+ user blocks into a single8 MiBMomentum if Dynamic Plasma limits are raised in the future. - Consensus Determinism Myth vs. Reality:
A common misconception is that Falcon cannot be used in blockchain consensus because it uses IEEE-754 floating-point FFTs. Floating-point math is used ONLY during key generation and signing—NEVER during verification!
FN-DSAverification computesh * s2 + s1 == c (mod 12289)and checks the integer squared Euclidean norm||(s1, s2)||^2 <= floor(beta^2)using 100% exact 16-bit/32-bit integer Number-Theoretic Transforms (NTT).- Every
go-zenon-v1andzenon-rsvalidator acrossx86_64,arm64, andriscv64reaches bit-for-bit identical verification verdicts with zero FPU involvement.
3. Why SLH-DSA-SHAKE-128s (0x03) Beats Stateful XMSS / Winternitz for User Vaults
- Stateless Safety for Multi-Device Wallets: Stateful hash-based schemes (
XMSS,LMS, or multi-tx Winternitz trees) catastrophic-fail if a user restores their BIP-39 mnemonic on a second laptop or mobile wallet and accidentally reuses a leaf indexi—leaking forged-signature preimages immediately. SLH-DSA-SHAKE-128sIs Completely Stateless: Derived deterministically from a 48-byte seed (derived viaSHAKE256from the user's 32-byte SLIP-0010 child key),SLH-DSA-SHAKE-128scan sign from multiple devices safely, uses a tiny32-bytepublic key, and relies exclusively onKeccak-f[1600](SHAKE256)—already implemented ingo-zenon-v1/internal/crypto/keccak.go!- While its
7,856-bytesignature and~1.8 msverification time make it too heavy for high-frequency bots, Dynamic Plasma naturally prices it (~285,000total base plasma ≈136fused QSR) as a premium vault, governance (SporkAddress), andBridgeAdministratortier.
Zenon 10-Second Momentum Bandwidth & CPU Budget Analysis
Under Alphanet post-DynamicPlasmaSpork defaults (internal/common/params.go:296-335):
BlockTimeSec = 10secondsDefaultMaxBasePlasmaInMomentum = 4,200,000→ up to200user blocks (21,000base plasma each) per Momentum (20 TPSbaseline)MaxMomentumContentBytes = 8,388,608(8.0 MiBserialized Protobuf cap)- Non-witness
AccountBlockProtobuf overhead ≈300 bytes
| Workload Scenario (200 User Blocks / 10s Momentum) | Serialized Momentum Body Size | % of 8.0 MiB Cap | Stage-2 Parallel Verify Time (8 Cores) | Annual Ledger Growth (at 20% Avg Utilization = 4 TPS) |
|---|---|---|---|---|
Ed25519 (Current v1) | ~79 KB | 0.9% | ~0.9 ms | ~49 GB / yr |
FN-DSA-512 (PK Cached) | ~193 KB | 2.3% | ~0.9 ms | ~121 GB / yr |
ML-DSA-44 (PK Cached) | ~544 KB | 6.5% | ~1.2 ms | ~343 GB / yr |
ML-DSA-44 (Uncached — PK on every tx) | ~807 KB | 9.6% | ~1.4 ms | ~509 GB / yr |
SLH-DSA-SHAKE-128s (100% Vault txs) | ~1,631 KB | 19.4% | ~45.0 ms | ~1.02 TB / yr |
Account-Chain Public-Key Caching alone saves 166 GB/year of Pebble v2 disk growth under ML-DSA-44 at 4 sustained TPS. Furthermore, because PublicKey and Signature are excluded from AccountBlock.ComputeHash() and Momentum.Content, archival vs. pruned nodes can optionally prune historical witnesses deeper than FinalityRollbackWindow (360 momentums) while retaining 100% verifiable state and hash-chain integrity!