Flock: Fast Proving for Batch Boolean Computations
Introduces Flock, a hash-based, post-quantum SNARK for fast proving of batched standard hash computations (BLAKE3, SHA-256, Keccak) over binary fields, with benchmarks on Apple M4 Max.
Schemes: Flock, Binius64, Hashcaster, Ligerito, Lean VM, BLAKE3, SHA-256, Keccak, Plonky3, NeutronNova, Spartan
Findings (quotes checked against the source text)
-
Flock is a hash-based SNARK aimed at fast proving of batched hash evaluations, the workload that dominates many SNARK applications.
We introduce Flock, a hash-based SNARK for extremely fast proving of such batched Boolean computations.
-
Flock targets standard hashes rather than SNARK-friendly ones, so the hash can be chosen on its own merits while staying efficient to prove.
Targeting a standard hash removes this choice.
-
Flock can prove hashing for 5,000 Bitcoin-style SHA-256 signatures in under 2.5 seconds on consumer hardware, counting only hashing inside signature verification.
Flock can prove hashing corresponding to 5,000 signatures, the current upper limit of a Bitcoin block, in less than 2.5 seconds on consumer hardware.
-
The system targets 100 bits of soundness, relying on proximity-gap results and the security of SHA-256 for Merkle commitments and Fiat-Shamir.
Security. Flock targets 100 bits of soundness (for details see Section 5).
-
The current prototype supports only batched Boolean-circuit computations in R1CS and does not yet support general circuits or signature aggregation.
It supports only batched Boolean-circuit computations expressed as R1CS.
-
The system offers succinctness but not zero-knowledge in its current form.
the system currently only offers succinctness and not zero-knowledge
Numbers (as extracted, not quote-checked)
- Single-core M4 Max BLAKE3 compression proving throughput: 82k per second
- Single-core M4 Max SHA-256 compression proving throughput: 42k per second
- Single-core M4 Max Keccak permutation proving throughput: 30k per second
- Ten-core BLAKE3 compression proving throughput: exceeds 660k per second
- Prover time over native execution per hash: approximately 250x
- Flock proof size for its benchmarked computations: less than 450 KB
- Soundness target: 100 bits
- Hash invocations per stateful hash-based signature (cited from DKKW25): about 160
For builders
If you need batched hash verification (hash-based signature aggregation or Merkle paths) in a PQ chain, a binary-field hash SNARK can prove standard SHA-256 or BLAKE3 at high throughput, but treat it as a research prototype.
Limits
Research prototype, not for production; no zero-knowledge; R1CS batch only; no signature aggregation yet; benchmarks on Apple ARM only; much of the implementation was AI-assisted.
Topics: zk-proofs hash-functions benchmarks sig-hash-based ethereum-migration bitcoin-migration survey