IACR ePrint 2026/2971 · arXiv 2611.28552 · preprint, 2026-11-21
Praxis: practical witness encryption for NP
Encrypt a message so that anyone who can prove a statement can read it, with no key holder. After 13 years of feasibility results, a scheme with real numbers: a 7.88 GiB ciphertext and seconds to encrypt or decrypt.
David Tse, Nikhil Vanjani, Psi Vesely (Byzantine Research, Stanford; contacts at babylonchain.io) · eprint.iacr.org/2026/2971 · Lean proofs: psivesely/praxis-lean
Background
Encrypt to a statement, not to a key
Introduced by Garg, Gentry, Sahai and Waters (STOC 2013). "Extractable" WE goes further: anyone who can tell encryptions apart must effectively know a witness.
The problem
13 years of "pick two"
Every earlier construction had at most two of three properties. The paper claims Praxis is the first with all three.
General
Works for any NP statement. Practical schemes with proofs only handled narrow relations, like signatures or commitment openings.
Proven secure
Under well-studied models and assumptions. Other NP schemes rested on heuristics or purpose-built assumptions, many since attacked or broken.
Practical
Real sizes and running times. The proven general schemes (via iO, codes, or a rank gap) were feasibility results only.
- Starting point: Hair and Sahai (arXiv 2609.18275, Sep 2026) proved WE for NP in the generic group model from a "rank gap". Their abstract credits the main results to "Codex / ChatGPT 6 Astra Ultra", working from a strategy the authors suggested.
- Praxis keeps their template but fixes the gap, and ends decryption with a short search instead of a polynomial one.
The construction
One Groth16 verifier serves every statement
Because the verifier is universal, every relation gets the same system size and the same costs. Decryption yields a key (a witness KEM), so a normal cipher handles messages of any length.
The numbers · 100-bit security, same Groth16 statement
Over ten orders of magnitude smaller
Log scale, from the paper's Table 1, against Hair and Sahai's basic construction (their values are lower bounds). Ciphertext and encryption: over ten orders of magnitude smaller; decryption: over six.
Practical, with an asterisk
Laptop-scale, but 7.88 GiB per ciphertext
Encrypt
2^34.2 field multiplications, "seconds on a laptop" per the paper. About 12 GB of memory.
Decrypt
2^33.0 expected, also seconds, given a Groth16 proof. About 5 GB of memory, with the ciphertext streamed. Fails with probability under 2^−252.
Ciphertext
7.88 GiB (8.46 GB as sent), the same for every statement. About 2^27.6 group elements, batch-compressed.
- Practical next to the 10¹¹ GiB before it, but you won't put it on-chain or email it. Each ciphertext is tied to one statement.
- Decryption is exponential in the security level, just short at λ = 100: about 2^(λ/4) · N^(1/4) operations.
What it rests on
Assumptions and caveats
Honest Groth16 setup
Whoever kept the setup's secret randomness could decrypt every ciphertext made for that key. Same trust as the SNARK, but now it guards secrets.
Idealized models
Extraction is proved in the bilinear generic group model and random oracle model, under Module-SIS. Real attacks on BN254 aren't generic: discrete log there is about 2^103.
Parameters by best attack
Module-SIS is sized by the best known attack, standard practice. For the proof alone to give 100 bits, it would need about 4.5 more bits.
Fresh and unreviewed
A preprint posted 2026-11-21. Lean 4 checks correctness and extraction at these exact parameters; matching definitions to intent is checked by reading.
Why bitdevs should care
Bitcoin uses the paper cites
Custodian-free bridges
Hioki, 2022: encrypt a deposit address's private key so only a proof of redemption on the other chain can recover it.
Proof verification
BABE (with Tse): WE plus a garbled circuit to verify Groth16 on Bitcoin, 1000× less off-chain storage than BitVM3's 42 GiB garbled circuits.
Covenants, no soft fork
Bitcoin PIPEs v2: lock a Bitcoin key under an NP statement; the spend is an ordinary Schnorr signature.
- The paper lists these uses but doesn't build them. Is a 7.88 GiB ciphertext workable for a bridge operator?
- If WE can emulate covenants, does that weaken the case for OP_CAT or CTV, or strengthen it?
- Who would you trust to run the Groth16 setup when its toxic waste decrypts the coins' keys?
- How much weight do we give generic-group proofs for keys that guard bitcoin?