All run in our lab • No outside review yet

What we tested, and what it does and doesn’t prove

Here is what we ran across all 32 hardware threads, what passed, what our internal 16-wave cryptanalytic campaign evaluated, and what those results do and don’t mean. The Z3, Bitwuzla, cvc5, CaDiCaL, Coq, F*, and SymbiYosys proofs cover formal properties of the initialization schedule, state transitions, side-channel countermeasures, and mode domain isolation. The statistical, algebraic, neural, MILP, and binary-taint suites test empirical randomness, the 4.0x to 24.0x reduced-round margin we measured, and compiled machine instructions. None of that is a universal security proof, and no outside cryptanalyst has reviewed APEX-256 yet.

What these results do and don’t tell you

Passing PractRand, BigCrush, and polynomial distinguishers means the output looks random to those tests. It does not mean the cipher cannot be broken. The Z3 SMT and symbolic equivalence results prove specific mathematical properties of the initialization, state transition, and companion domain boundaries. They are not a proof of security against every possible attack.

Every test below was executed internally by Apex Research Labs, LLC. No independent third-party cryptanalysis of APEX-256 has been published yet. We actively welcome external academic and industry reviewers.

Independent review status

Mathematical Proofs & Empirical Randomness

Bit-vector proofs of specific properties, key-collision searches, and 32 TB of statistical testing. Each row says what was checked. None of them proves the cipher is secure.

Formal SMT & Symbolic Proofs (Z3 / SAW / CASCADA)

Formal verification bounds and SAT/SMT solver constraints
Analysis Domain Methodology & Scope Proof Outcome
Single-Step State Bijection Formal bit-vector permutation proof PROVEN Strict Bijection
Full-State Transition Injectivity Z3 / Bitwuzla / Coq bit-vector equivalence UNSAT 0 State Collisions
256-Bit Key Schedule Z3 same-nonce 256-bit key collision search + 1M pairs UNSAT 0 Key Collisions
Key-Nonce Equivalence Continuous round-key binding (1M trials + Z3) UNSAT 0 / 1,000,000 Collisions
Weak-Key Search Z3 / SAW 256-bit constant-time initialization proof UNSAT None found in modeled scope
Degenerate-Orbit Search Z3 exhaustive boundary search & 24-round init VERIFIED None found, constant-time init
Rotational-XOR (RX) 32-core CASCADA symbolic sweep (γ = 1..63) 63 / 63 UNSAT 0 RX Invariants
Mode Domain Isolation Z3 / SAW mode domain disjointness proof PROVEN 100% Disjoint
Invariant Subspaces 500 randomized projections, dimensions 1 to 5 0 FOUND 0 Invariant Subspaces

Statistical & Dynamical Randomness Battery

Statistical test suite results and confidence intervals
Validation Suite Test Scope Result
PractRand RNG_test 32 Terabytes / 235 stats / 42h ALL PASSED (0 Anomalies)
TestU01 BigCrush 106 tests / 160 stats / 1h54m ALL PASSED (160 / 160)
NIST SP 800-22 Rev 1a 1 GB / 15 test suites ALL PASSED (15 / 15)
Strict Avalanche (SAC) 320M pairs / 327,680 cells 50.0000% (Within 6σ)
Differential Collision Sweep 16,777,216 (224) structured 24R pairs 0 COLLISIONS in 224 pairs
Floyd Cycle Search 40B+ consecutive iterations 0 CYCLES Detected
Long-Horizon Orbit Stability Exhaustive algebraic orbit ejection verification ALL EJECTED (0 Degenerate Orbits)
Berlekamp-Massey 1,048,576-bit sequences PASSED L(N) ≈ N / 2
Bit Balance & Autocorr 10 MB high-resolution stream ALL PASSED

Looking for structure, and checking the compiled code

We ran off-the-shelf tools (Bitwuzla, cvc5, CaDiCaL, Coq, F*, HiGHS, SCALib, Lascar, VerFI, SymbiYosys) against the cipher, its side-channel countermeasures, the X256 nonce path, the 256-byte ratchet, and the companion modes.

Algebraic, Spectral & Neural Distinguishers

Algebraic, spectral, and machine-learning cryptanalytic test results
Cryptanalytic Tool / Vector Target & Scope Measured Outcome
Reduced-Round Margin Z3/Bitwuzla SMT, CaDiCaL SAT, HiGHS MILP, OpenMP SAC, Gohr ResNet (R = 1..24) 4.0x - 24.0x Measured, by method
CLAASP 320×64 Diffusion Full-state input-to-output bit completeness (R = 0..24) 100.00% Full Completeness
Full-State Bit Diffusion Bit-level avalanche evaluation (R = 0..24) PASSED Bias ≤ 0.01624
Gohr Residual Neural Net Deep residual classifier on keystream pairs (R = 0..24) 49.26% - 50.57% (|Z| ≤ 1.91 Noise)
CROCS BoolTest 128b, 256b, 512b & degree-2/3 polynomial XOR blocks PASSED Max |Z| ≤ 4.28 (< 4.89)
14-D Moebius ANF & Cubes Dinur-Shamir 214 cube summation (64 superpolys) DEGREE 14 / 14 (64 / 64 Dense)
Division-Property Bit-Cone HiGHS / OR-Tools MILP over 256b key + 64b/256b (X256) nonce FULL CONE Degree 192+ Bound
Walsh-Hadamard Spectrum Single-round output coordinate non-linearity bound PASSED High Non-Linearity Bound

Binary Constant-Time, SCA & Companion Mode Audit

White-box binary constant-time verification and companion primitive audit results
Verification Vector Instrumentation & Scope Measured Outcome
Hardware Side-Channel Hardening Datapath power/EM leakage evaluation (SCALib CPA & Lascar TVLA) CPA |r| = 0.0024 |t| = 0.74 (< 4.50)
Multi-Compiler Disassembly 36 builds across -O0, -O1, -O2, -O3, -Os, -march=native 0 DIV / 0 JCC 100% Branchless
Valgrind ctgrind & Unicorn Dynamic symbolic secret-key memory taint across all modes 0 ERRORS 0 Secret Branches
X256 Nonce & Ratcheting 256-bit X256 nonce (2128 birthday) & 256-byte one-way keyframe ratchet PROVEN 100% Chunk-Invariant
Modular Full-256 Companion Suite Dedicated self-contained 40B / 48B companion classes (HASH, MAC, KDF, AEAD, DRBG, VFS, CFB, FPE, STEALTH) FULL 256-BIT 0 B Heap / 0 B .bss
RTL Synthesis & VerFI YoWASP-Yosys, SymbiYosys, Bitwuzla & VerFI fault injection VERIFIED Cycle-Exact & Fault-Locked
Full Tool & KAT Battery External formal/SCA tools + 16-suite C++17 KAT harness ALL PASSED 100% Bit-Exact

Round-Reduced Distinguisher & Diffusion Horizon (R = 0 to 24)

We attacked reduced-round versions of the initialization, from R = 0 up to the full 24 rounds, with seven different methods. Depending on the method, the last round where anything distinguishable shows up puts the margin at 4.0x to 24.0x. That is our own measurement, not an outside one.

Reduced-round margin, by method

Black-box reduced-round security margin verification outcomes
Verification Tier Evaluation Scope Measured Outcome Margin Status
Diffusion & Avalanche Completeness Full 256-bit key & nonce input-to-output propagation and SAC uniformity 100.00% bit completeness; noise-indistinguishable output distribution VERIFIED
Algebraic, Neural & Statistical Horizon 7-engine multi-solver sweep (SMT, SAT, MILP, Moebius ANF, BoolTest, ResNet, Walsh-Hadamard) Full algebraic degree reached; no distinguisher found past the reduced-round frontier 4.0x to 24.0x MARGIN
Production 24-Round Schedule Constant-time branchless production initialization across all core and companion modes Zero anomalies across formal proofs, 32 TB PractRand, BigCrush, and multi-ISA sanitizer profiles PRODUCTION

Full round-by-round solver telemetry and reproducible cryptanalytic harness logs are available to vetted evaluators under an executed Apex Evaluation NDA.

Exhaustive Boundary Verification & Vetted Evaluator Access

Formal bit-vector equivalence and boundary verification across the 24-round constant-time initialization schedule.

Formal Bit-Vector & Interactive Theorem Verification

Using Microsoft Z3, Bitwuzla, cvc5, and machine-checked Coq and F* proofs, we modeled the initialization and state transition pipeline to verify strict state injectivity, absence of weak keys, and constant-time handling of all boundary states across the 2256 key space with zero conditional branches (if/else).

Note: Internal state equations, formal SMT proof scripts, CASCADA/CLAASP/BoolTest harnesses, and bit-vector verification models are restricted intellectual property provided exclusively to vetted organizations under an executed Apex Evaluation NDA.

Related Documentation