FQS-1
Fractal Quantum Shield Standard v1
Open standard for defense-in-depth post-quantum cryptography. Four components — QIE v2 + Cascade AEAD + Quantum Entropy Mixer + Drand adapter — all shipped, tested, and verified against real public randomness.
FQS-1 v1.0 — Four shipped components
Each component is independently specified, independently tested, and composes into the full FQS-1 stack.
QIE v2 — Quantum Intelligent Encryption
AES-256-GCM-SIV + HMAC-SHA3-512 outer tag + HKDF-SHA3-256 key derivation + constant-time verification. MAC-then-decrypt. Zeroize-on-drop.
blockchain/crypto/src/qie_v2.rs· 15 tests· ~480 LOCCascade AEAD — Triple defense-in-depth
AES-GCM-SIV → ChaCha20-Poly1305 → AES-GCM-SIV with HMAC outer tag. Two cipher families. Independent keys via HKDF. Per-layer domain separation.
blockchain/crypto/src/cascade_aead.rs· 17 tests· ~546 LOCQuantum Entropy Mixer
Combines N entropy sources via SHA3-512 → HKDF expansion. Defense-in-depth: attacker must compromise all sources. Graceful degradation on source failure.
blockchain/crypto/src/quantum_entropy.rs· 20 tests· ~487 LOCDrandSource — External verifiable entropy
Adapter to drand network (BLS-signed public randomness from 12+ validators). HTTP timeout + ring-buffer cache + graceful fallback. Verified against live drand round 6118315.
blockchain/node/src/drand_source.rs· 11 tests· ~310 LOCThe full FQS-1 stack composed
The components compose. The mixer feeds nonces with per-layer domain separation; the cascade encrypts using them. For an attacker to forge a ciphertext, they need to break two cipher families simultaneously AND compromise OS RNG plus drand network at the same time.
E2E verification: see fqs_stack_e2e_cascade_with_mixer_no_network + fqs_stack_e2e_cascade_with_drand_live in drand_source.rs
Why a Fractal Quantum Shield
Defense in depth, not single layer
TLS, NaCl, AWS KMS all use one cipher. FQS-1 uses two families plus an HMAC outer tag — breaking one is not enough.
Auditable external entropy
OS RNG is opaque. Drand network is publicly verifiable BLS-signed randomness from 12+ independent validators. FQS-1 mixes both.
Open spec, not vendor lock-in
Spec under CC BY 4.0, implementations under MIT. Anyone can implement, audit, critique, or fork. No proprietary primitives.
Honest caveats — what FQS-1 is NOT
- ❌ NOT a replacement for NIST FIPS 203/204 (Kyber, Dilithium) — it complements them. KEM still needs Kyber.
- ❌ NOT externally audited yet — Wave 3 (Q3 2026) includes Trail of Bits / Cure53 / NCC Group level audit.
- ❌ NOT faster than single AES-GCM — Cascade is ~3× slower (the cost of defense-in-depth).
- ❌ NOT a forward-secrecy protocol on its own — needs Kyber KEM per session for FS.
- ❌ NOT protection against physical attacks (cold boot, side-channel hardware).
We publish what works. We publish what doesn't. Trust requires honesty about both.
Roadmap — extensions beyond v1.0
FQS-1 v1.0 is shipped. These extensions are tracked publicly for Waves 2 and 3.
HTTP API endpoints (Cascade + Mixer + Drand)
Expose Cascade and entropy mixer via FractalPQC API: /v1/cascade/encrypt, /v1/cascade/decrypt, /v1/entropy/mixed, /v1/entropy/drand/status.
Multi-family PQC (Phase 2)
Add SLH-DSA, HQC, Classic McEliece, CSIDH adapters. Diversification against single-family break.
ANU QRNG adapter
Second external verifiable entropy source — Australian National University quantum random number generator. Makes mixer N≥3.
Threshold DKG + FROST (Phase 4)
k-of-n threshold signing. Treasury and multisig without single point of failure.
Formal verification (Phase 6)
Kani + Miri in CI. Mathematical proofs of constant-time properties. Fuzz testing 10K+ CPU hours.
External cryptographic audit (Phase 8)
Trail of Bits / Cure53 / NCC Group level external audit of the published spec and reference implementations.
Post-Quantum Bridges (Phase 7)
Migrate multi-chain bridge signatures from ECDSA to Dilithium. Future-proof against quantum computing arrival.
Real FHE integration
TFHE / CKKS for private computation on encrypted data.
Source, spec, and critique
Spec license: CC BY 4.0 · Implementations license: MIT · External audit pending Wave 3 · Use crypto only if you understand it