Skip to main content

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 with FN-DSA-512 (FIPS 206) for high-density throughput and SLH-DSA-SHAKE-128s (FIPS 205) for hash-only vaults fits comfortably inside Zenon's existing 8.0 MiB MaxMomentumContentBytes limit (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:

SchemeStandardNIST Cat.Private SeedPublic Key (PK)Signature (Sig)1st-Tx Witness (PK + Sig)PK-Cached Repeat Tx (1B alg + Sig)Typical Verify CPU (1 Core)
Ed25519 (Current)RFC 80320 (Broken)32 B32 B64 B96 B64 B~35 µs
ML-DSA-44FIPS 2042 (~AES-128+)32 B1,312 B2,420 B3,734 B2,421 B~45 µs
ML-DSA-65FIPS 2043 (~AES-192)32 B1,952 B3,309 B5,263 B3,310 B~75 µs
ML-DSA-87FIPS 2045 (~AES-256)32 B2,592 B4,627 B7,221 B4,628 B~115 µs
FN-DSA-512 (Falcon)FIPS 2061 (~AES-128)32–64 B897 B666 B1,565 B667 B~35 µs
FN-DSA-1024FIPS 2065 (~AES-256)32–64 B1,793 B1,280 B3,075 B1,281 B~70 µs
SLH-DSA-SHAKE-128sFIPS 2051 (SHAKE)48 B (3×16B)32 B7,856 B7,890 B7,857 B~1,800 µs
SLH-DSA-SHAKE-128fFIPS 2051 (SHAKE)48 B32 B17,088 B17,122 B17,089 B~4,200 µs
XMSS-SHAKE_10_256SP 800-208Stateful Hash32 B + index64 B2,500 B2,564 B2,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​

  1. Zero-CGo Go 1.26 Standard Library Support: go-zenon-v1 targets go 1.26.0 with a strict policy of minimal external dependencies (4 direct dependencies in go.mod, zero CGo). Go 1.26 ships a constant-time, FIPS 140-3 audited pure-Go implementation in crypto/mldsa (mldsa.MLDSA44(), mldsa.NewPrivateKey(params, seed32), mldsa.Verify).
  2. Why ML-DSA-44 Over ML-DSA-65 for L1 Transactions: ML-DSA-44 targets NIST Security Category 2 (comparable to breaking SHA-256 collision / AES-128), matching the exact 128-bit quantum security ceiling already set by Zenon's SHA3-256 hashes and 24-word BIP-39 seeds! Moving from ML-DSA-44 to ML-DSA-65 inflates 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 above SHA3-256.
  3. Simple Integer Signing for Hardware Wallets: Unlike Falcon, ML-DSA-44 signing 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​

  1. 3.6× Smaller Repeat Signatures (666 B vs. 2,420 B): With Account-Chain Public-Key Caching active, a repeat FN-DSA-512 AccountBlock adds only 667 bytes of signature witness—less than one-third of ML-DSA-44 and small enough to pack 8,000+ user blocks into a single 8 MiB Momentum if Dynamic Plasma limits are raised in the future.
  2. 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-DSA verification computes h * 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-v1 and zenon-rs validator across x86_64, arm64, and riscv64 reaches 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 index i—leaking forged-signature preimages immediately.
  • SLH-DSA-SHAKE-128s Is Completely Stateless: Derived deterministically from a 48-byte seed (derived via SHAKE256 from the user's 32-byte SLIP-0010 child key), SLH-DSA-SHAKE-128s can sign from multiple devices safely, uses a tiny 32-byte public key, and relies exclusively on Keccak-f[1600] (SHAKE256)—already implemented in go-zenon-v1/internal/crypto/keccak.go!
  • While its 7,856-byte signature and ~1.8 ms verification time make it too heavy for high-frequency bots, Dynamic Plasma naturally prices it (~285,000 total base plasma ≈ 136 fused QSR) as a premium vault, governance (SporkAddress), and BridgeAdministrator tier.

Zenon 10-Second Momentum Bandwidth & CPU Budget Analysis​

Under Alphanet post-DynamicPlasmaSpork defaults (internal/common/params.go:296-335):

  • BlockTimeSec = 10 seconds
  • DefaultMaxBasePlasmaInMomentum = 4,200,000 → up to 200 user blocks (21,000 base plasma each) per Momentum (20 TPS baseline)
  • MaxMomentumContentBytes = 8,388,608 (8.0 MiB serialized Protobuf cap)
  • Non-witness AccountBlock Protobuf overhead ≈ 300 bytes
Workload Scenario (200 User Blocks / 10s Momentum)Serialized Momentum Body Size% of 8.0 MiB CapStage-2 Parallel Verify Time (8 Cores)Annual Ledger Growth (at 20% Avg Utilization = 4 TPS)
Ed25519 (Current v1)~79 KB0.9%~0.9 ms~49 GB / yr
FN-DSA-512 (PK Cached)~193 KB2.3%~0.9 ms~121 GB / yr
ML-DSA-44 (PK Cached)~544 KB6.5%~1.2 ms~343 GB / yr
ML-DSA-44 (Uncached — PK on every tx)~807 KB9.6%~1.4 ms~509 GB / yr
SLH-DSA-SHAKE-128s (100% Vault txs)~1,631 KB19.4%~45.0 ms~1.02 TB / yr
Takeaway on PK Caching + Witness Pruning

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!