BLINCS
Conservative post-quantum signatures built from BLAKE3.
BLINCS is a stateless signature scheme for teams that care most about long-term security. It uses only hashing, avoids lattice assumptions, comes with direct non-random-oracle proofs, and is designed for the ways production systems actually fail.
Also: 7-host benchmarks · Symmetric Cryptography Survey · comparison paper · paper & KAT repo
Status: Experimental and unstandardized. The proofs are written by the author and are still awaiting independent external review and third-party audit.
Parameterization & repository notes
PID = 0x5B, 32 B verifying key, 6,080 B signature, 128-bit target), BLINCS-144 (PID = 0x5C, 40 B verifying key, 8,912 B signature, ≥144-bit target), and BLINCS-160 (PID = 0x5D, 48 B verifying key, 12,272 B signature, ≥160-bit single-user target). The specifications, standalone security reductions, KATs, and verifiers live in blincs-paper PR #11, with matching Rust/WASM implementations in signet PR #8 (BLINCS-128) and signet PR #9 (BLINCS-144).
Why consider BLINCS
- More conservative security assumptions: BLINCS is hash-based. It does not rely on lattice problems such as ML-DSA or FN-DSA do.
- Built on the part of hashing with the best track record: it relies on single-block keyed and targeted hash properties, which have held up remarkably well across roughly 50 years of public cryptanalysis. It is specifically designed to avoid depending on free-choice collision attacks on long unkeyed hashes (Symmetric Cryptography Survey).
- Direct proofs tied to the hash core: the security proof shows that forging BLINCS would require breaking BLAKE3's single-block compression function in a way no modern hash function has ever been broken. Formal terminology is available below in a collapsed note.
- Post-quantum security: BLINCS is proven secure even against Cryptographically Relevant Quantum Computers.
- Designed for production failure modes: it addresses OS RNG failure, fault and glitch attacks, excessive signatures under one key, and the possibility of future cryptanalytic surprises.
- Deployable in real software stacks: both BLINCS-128 and BLINCS-144 verify quickly on servers, browsers, phones, desktops, and Cortex-M microcontrollers, and are practical inside zero-knowledge proof systems.
- High-assurance implementation available now: Signet on BLAKE3-Servil provides machine-checked correctness proofs for every assembly kernel,
#![forbid(unsafe_code)]in the signature code, 4-way cross-language output checks, and strict supply-chain and test controls.
The Security Case
If you sign firmware, packages, records, or identities today, those signatures may need to keep verifying for decades. BLINCS is aimed at that problem. Its design goal is simple: rely on as little exotic math as possible, and connect signature security as directly as possible to well-studied hash behavior.
1. Hash-based assumptions are more conservative than lattice assumptions
Most post-quantum signature schemes in current standards rely on structured lattice problems. BLINCS does not. It is a stateless hash-based scheme: no lattice algebra, no number-theory trapdoors, just BLAKE3 used in a carefully constrained way.
For many engineers, that is the headline. If your priority is minimizing the amount of new mathematical machinery your security depends on, hash-based signatures are the conservative end of post-quantum design.
2. BLINCS relies on the strongest-looking part of hashing, not the weakest-looking part
“Hash-based” by itself is not enough. Different hash properties have very different real-world track records.
Over decades, old hash functions have often failed through collision attacks on larger, more flexible inputs. By contrast, the parts BLINCS leans on — keyed single-block behavior and single-target behavior — have held up much better in public cryptanalysis. The historical record is summarized in the Symmetric Cryptography Survey and discussed for BLINCS in Issue #12.
BLINCS is built around that split. It does not bet security on blocking arbitrary collisions in a long, free-form hash. Each signature also mixes the message hash with a fresh random salt, so a forgery never comes down to finding an unkeyed hash collision. The design keeps pushing security back to small, scoped, keyed or targeted single-block compression calls.
3. The proof is direct, tight, and does not lean on the random-oracle shortcut
Many schemes are argued secure in an idealized model where the hash is treated as a perfect black box. BLINCS is not presented that way.
Its main security claim is stronger and easier to state in engineering terms: if someone can forge a BLINCS signature, then they have found a way to break the underlying single-block BLAKE3 compression function itself. That is the core primitive BLINCS is betting on.
This is important because it narrows the story. You do not have to rely on a large stack of modeling shortcuts or on collision resistance in places BLINCS does not need it. The proof tries to pin the scheme directly to one narrow, heavily studied piece of symmetric cryptography.
For cryptographers: exact proof terms and reduction properties
BLINCS_SECURITY_REDUCTION.pdf, BLINCS144_SECURITY_REDUCTION.pdf, and BLINCS160_SECURITY_REDUCTION.pdf reduces EU-CMA directly to keyed pseudorandomness (PRF, PRF_salt), multi-target one-wayness and undetectability (sm-ow, sm-ow-open, sm-ud, without requiring sm-dspr), and tweaked target collision / honest-seed subset resilience (sm-tcr, m-etcr, ITSR) on single-block calls (Proposition 2). Companion appendices prove SUF-CMA, BUFF (DEO, CEO, MBS, NR), adaptive multi-user security (MU-EUF-CMA-Corr), and preprocessing bounds (AI-ROM, AI-QROM). All numerical bounds are checked by zero-dependency exact-rational Python scripts.
Quantum Security & Real-World Risks
4. Proven secure even against Cryptographically Relevant Quantum Computers
BLINCS does not give a quantum attacker any obvious algebraic structure to exploit. That matters because the most dramatic quantum attacks work best against schemes built on exactly that kind of structure.
The remaining quantum advantage is the more generic kind: faster search, not a clean structural break. BLINCS-128, BLINCS-144, and BLINCS-160 size their internal security margins for that setting and include explicit classical and quantum security analyses in the published proof sets (checked in check_qrom_ledger_0x5b.py, check_qrom_ledger_0x5c.py, and check_qrom_ledger_0x5d.py).
5. Engineered around real operational failures, not just textbook attacks
In production, many signature failures are not “math was broken.” They are much more mundane: the RNG stalls, a device gets glitched, state rolls back after restore, or a key stays in service for years longer than intended. BLINCS was designed with those failure modes in mind.
- Key overuse without rotation: BLINCS is stateless and supports more than 240 signatures per key — over a trillion. There is no mutable per-key counter to corrupt during backup restore, VM snapshot rollback, or active-active failover. In practice, normal key rotation should happen long before the key budget is exhausted.
- OS RNG failure: signing is hedged. It mixes platform entropy with the secret seed and the message, so if the OS RNG stalls, repeats, or is biased, signing falls back to deterministic secret-keyed behavior instead of collapsing outright. In Signet this is paired with a lock-free persisted entropy pool.
- Glitch and fault attacks: Signet can self-check signatures before release with only a small overhead. For more hostile environments, implementations can add optional redundant checks or independent double-signing without changing the signature format.
- Side channels and misuse: the implementation uses simple integer operations rather than lookup-heavy designs, verification work is fixed and predictable, application context binding is mandatory, parsing is strict and fail-closed, and BLINCS-144 keeps extra internal width for future margin.
- Novel cryptographic breakthroughs: if the post-quantum landscape changes in surprising ways, a hash-based scheme built on single-block compression properties gives you a different risk profile from lattice-based systems. That diversity can matter for long-lived systems.
Practical Efficiency Across Real Environments
Security is the reason to look at BLINCS. Performance is the reason it is usable.
BLINCS is not trying to win on smallest signatures or fastest signing. Its practical story is different: compact public keys, fast verification, good large-message behavior, and a verifier small enough to fit on constrained systems.
- Low-power microcontrollers: the zero-allocation
#![no_std]verifier fits in 13.3 KiB Flash / 3.3 KiB stack for BLINCS-128 and 13.5 KiB Flash / 5.1 KiB stack for BLINCS-144 on Cortex-M. - Browsers, mobile, desktop, and servers: the freestanding verifier is 25.8 KiB WASM (BLINCS-128) or 26.1 KiB WASM (BLINCS-144). On AMD EPYC 9255, 64 B verification takes 16.0 µs (BLINCS-128) / 18.2 µs (BLINCS-144), and 1 MiB verification takes 90.6 µs / 92.9 µs. On Apple M6, 64 B verification is 19.7 µs / 23.3 µs.
- Large artifacts: standard pure-mode ML-DSA and FN-DSA hash the entire message serially with SHAKE256, which takes ~1.8 ms per MiB on Zen 5; BLINCS hashes the message in parallel with BLAKE3 (~75 µs per MiB) while still keeping per-signature salted hashing (no unkeyed pre-hash workaround needed).
- Zero-knowledge proof systems: BLINCS is also practical in proof systems, where BLAKE3-based verification can be substantially cheaper than SHA-256-based stateless hash signatures.
Signing is slower than compact lattice signatures: 1.68 ms (BLINCS-128) or 2.14 ms (BLINCS-144) warm sign on EPYC 9255 for a 64 B message. For many signing workloads that is still completely practical, especially when verification cost and long-term security posture matter more than raw signer throughput.
Trade-Offs & Comparison
BLINCS-128 (PID = 0x5B) uses a 32 B verifying key and a fixed 6,080 B signature; BLINCS-144 (PID = 0x5C) uses a 40 B verifying key and an 8,912 B signature for ≥144-bit security margin; and BLINCS-160 (PID = 0x5D) uses a 48 B verifying key and a 12,272 B signature for ≥160-bit single-user classical margin. That is the central trade-off: you accept larger signatures and slower signing in exchange for a more conservative hash-only security story and very strong verification behavior across a wide range of environments.
Hash-based (solid circles; dashed guides show BLINCS-128)
Lattice / AES-VOLE (open diamonds)
Source: bench-sigs (EPYC 9255, 64 B, 2026-12-04)
| Scheme | Assumption | Key + Sig | Verify 64 BEPYC 9255 | Verify 1 MiBEPYC 9255 | Sign 64 BEPYC 9255 | Cortex-MFlash / Stack |
|---|---|---|---|---|---|---|
BLINCS-128PID 0x5B |
Hash (BLAKE3)128-bit target | 6,112 B | 18.2 µs | 94.3 µs | 1.55 ms | 13.0 / 3.3 KiB5.84 ms* M33 |
BLINCS-144PID 0x5C |
Hash (BLAKE3)≥144-bit | 8,952 B | pending+25.9% comps | pending+1.7% comps | pending+20.6% comps | pending |
BLINCS-160PID 0x5D |
Hash (BLAKE3)≥160-bit s.u. | 12,320 B | pending+52.1% comps | pending+3.4% comps | pending+41.2% comps | pending |
| SLH-DSA-128sSHA-256 | Hash (SHA-256)128-bit | 7,888 B | 150.5 µs | 2.18 ms | 97.55 ms | 5.3 / 2.0 KiB44.47 ms M4 |
| SLH-DSA-128fSHA-256 | Hash (SHA-256)128-bit | 17,120 B | 396.2 µs | 2.43 ms | 4.72 ms | 5.0 / 2.7 KiB130.50 ms M4 |
BonsaiZPQ-SHA2-160 |
Hash (SHA-2)160-bit* | 7,852 B | 73.4 µs | 1.23 ms | 10.64 ms14.43 ms custody | 18.5 / 3.7 KiB24.04 ms M4 |
| ML-DSA-44mldsa-native | Module-LWElattice | 3,732 B | 14.4 µs | 1.86 ms | 46.7 µs | 19.6 / 8.9 KiB8.46 ms M4 |
| FN-DSA-512Falcon-512 | NTRU + FFTlattice | 1,563 B | 25.7 µs | 2.24 ms | 127.3 µs | 103.8 / 3.0 KiB2.36 ms M4 |
Desktop/server medians from devonjonte/bench-sigs (interleaved 7-host runs, 2026-12-04; benchmark PDF report). *BLINCS Cortex-M Flash/stack are measured from bare-metal thumbv7em ELFs; 168 MHz M33 verify latency is modeled from Z3-proved, QEMU-verified Thumb-2 kernels. Bonsai targets 221 (Regular) / 228 (Custody) signing budgets vs. BLINCS's >240.
For a fuller side-by-side analysis across hash-based and lattice signatures, including Cortex-M and proof-system costs, read: BLINCS in Context: Post-Quantum Signature Trade-Offs (PDF) · LaTeX.
High-Assurance Implementation
BLINCS is not just a paper design. There is a real implementation stack today: Signet on top of BLAKE3-Servil. The emphasis is not only speed, but also correctness, reviewability, and deployment discipline.
- Machine-checked assembly correctness (BLAKE3-Servil): every hand-written assembly kernel is proved against the Lean 4 BLAKE3 specification and then cross-checked bit-for-bit on real CPUs and QEMU. That covers functional equivalence, buffer bounds, alignment safety, and ABI preservation across the optimized back ends.
- Strict Rust/WASM/embedded signature engine (Signet): the signature code uses
#![forbid(unsafe_code)], includes a zero-allocation#![no_std]verifier for Cortex-M and a zero-import WASM verifier, and checks outputs 4 ways byte-for-byte across Rust,#![no_std]WASM, pure Python, and TypeScript. - Supply-chain and test controls: the project enforces a zero-exemption dependency policy with
cargo-denyandcargo-vet, plus adversarial test controls including causal and planted-fault testing. - Specifications, C11 reference, KATs, and formal checks (blincs-paper): the repository includes normative specs, a standalone zero-warning C11 reference (
gen_kat.c), JSON known-answer tests, exact-rational bound checkers, Lean 4 formalizations, and chronological review logs.
The implementation, specifications, and proofs still need independent external human review and audit.
Current branches, PRs, and historical workspace
0x5B), BLINCS-144 (0x5C), and BLINCS-160 (0x5D) are in blincs-paper PR #11 (and Release v2026.12). Matching Signet implementations are in PR #8 and PR #9. An earlier teaching Rust reference and Lean 4 workspace is archived in servil-software-factory/blincs.
Specifications, Security Proofs & Source Code
Specifications & security proofs
- BLINCS-128 Specification · LaTeX · KATs
- BLINCS-128 Security Proofs (PDF) · LaTeX
- BLINCS-144 Specification · LaTeX · KATs
- BLINCS-144 Security Proofs (PDF) · LaTeX
- BLINCS-160 Specification · LaTeX · KATs
- BLINCS-160 Security Proofs (PDF) · LaTeX
- Post-Quantum Comparison Paper · LaTeX · BLINCS-144 vs. Bonsai (MD)
- Symmetric Cryptography Survey
Reference code, verifiers & archives
-
Standalone C11 Reference (
gen_kat.c) - Exact-rational verifiers: BLINCS-128 · BLINCS-144 · BLINCS-160 · QROM (128) · QROM (144) · QROM (160) · counts
-
Direct PDFs served from this site (
main): 128 Spec · 128 Proofs · 144 Spec · 144 Proofs · 160 Spec · 160 Proofs · Comparison