Flock: Fast Proving for Batch Boolean Computations
Flock is a hash-based SNARK that proves batches of hash evaluations (BLAKE3, SHA-256, Keccak) quickly, with a claimed extension toward hash-based signature verification.
Schemes: Flock, BLAKE3, SHA-256, Keccak, Binius64, R1CS
Findings (quotes checked against the source text)
-
On one M4 Max core, Flock proves 82k BLAKE3 compressions, 42k SHA-256 compressions, and 30k Keccak permutations per second, under 250x overhead versus native execution.
On a single core of an M4 Max processor, Flock proves 82k evaluations of the BLAKE3 compression function, 42k SHA-256 compressions, and 30k Keccak permutations per second — less than a $250\times$ overhead over native execution.
-
On ten cores, BLAKE3 throughput exceeds 660k compressions per second; for SHA-256 proving, Flock is reported as over 9x faster than Binius64 and over 500x faster than the fastest elliptic-curve SNARK the authors measured.
in proving SHA-256, Flock is more than $9\times$ faster than Binius64, the prior state of the art, and more than $500\times$ faster than the fastest elliptic curve-based SNARK we measured against.
-
Flock proves batches of the same R1CS circuit with input/output relations, hash chains, and Merkle path openings, and is said to extend in principle to hash-based signature verification.
Flock proves batches of the same R1CS circuit (plus input/output relations between them), can prove hash-chains and Merkle path openings, and in principle can be extended to full-fledged hash-based signature verification.
-
Speed comes from new optimizations to the lincheck and zerocheck protocols plus a proof-of-concept implementation co-designed by coding agents.
At its core, Flock combines new optimizations for the lincheck and zerocheck protocols with an aggressively optimized proof-of-concept implementation co-designed by coding agents.
Numbers (as extracted, not quote-checked)
- BLAKE3 compression proving rate, single M4 Max core: 82k per second
- SHA-256 compression proving rate, single M4 Max core: 42k per second
- Keccak permutation proving rate, single M4 Max core: 30k per second
- Overhead vs native execution, single core: less than 250x
- BLAKE3 compression throughput, ten cores: exceeds 660k per second
- SHA-256 proving speedup vs Binius64: more than 9x
- SHA-256 proving speedup vs fastest elliptic-curve SNARK measured: more than 500x
For builders
Hash-based batch proving of hash chains and Merkle paths is a plausible building block for PQ-friendly validity proofs, but treat the signature-verification extension as unproven until the full text is checked.
Limits
Abstract-only read; the signature extension is stated only as possible in principle; benchmarks are a proof-of-concept on one Apple M4 Max and the EC comparison target is unnamed.
Topics: zk-proofs hash-functions benchmarks