Menu
Crypto sections
The new protocol shrinks a long-theoretical cryptographic tool into something a laptop can run, with possible uses in Bitcoin bridges and atomic swaps
Tue 24 Nov 2026 · 08:16 EST · 4 min read
In Education
Share
Witness encryption has been one of cryptography’s most interesting ideas since 2013. For most of that time, it has also been one of its least usable.
That may be changing. On November 23, 2026, Stanford’s David Tse, together with Nikhil Vanjani and Psi Vesely of Byzantine Research, presented “Praxis: Practical Witness Encryption for NP.” The authors describe it as the first practical witness encryption scheme that works over general NP statements.
Tse announced the work through his X account, @dntse. The team pitches it as a possible foundation for trustless cross-chain swaps and other crypto applications.
What witness encryption actually does
Picture a safe with no key and no keyholder. It opens for anyone who can solve a specific puzzle, and only for them.
That is witness encryption. You lock a message to a mathematical statement. Anyone who holds a valid solution, called a “witness,” can decrypt it. No shared secret, no middleman, no one deciding who gets in.
The “NP” part matters. NP is the broad class of problems whose solutions are easy to check, even when they are hard to find. Supporting general NP statements means the puzzle can be almost any verifiable condition, rather than one narrow, hand-built case.
The numbers behind Praxis
The research team demonstrated Praxis using a verifier for Groth16, a widely used zero-knowledge proof system, on the BN254 elliptic curve. Think of it as encrypting a message that unlocks only when someone presents a valid zero-knowledge proof.
At 100-bit security, the resulting ciphertext comes to 7.88 GiB. That will not fit in a text message. It is, however, small enough to be workable.
For comparison, the authors say Praxis is more than ten orders of magnitude smaller than the Hair-Sahai constructions. Those earlier results, also from 2026, showed witness encryption for NP was feasible in principle. Praxis builds on them and tries to make them usable in practice.
The compute costs are also modest by cryptographic standards:
The news moving money, markets, and the world—before your day starts.
Daily. Free. Join 34,000+ readers across crypto, finance, and policy.
We respect your privacy. Unsubscribe anytime.
In practical terms, both encryption and decryption finish within seconds on standard laptop hardware.
The security fine print
Praxis proves extractability in the bilinear generic group model and the random oracle model, relying on the Module-SIS assumption. Extractability, roughly, means that anyone who successfully decrypts must actually know a valid witness. Nobody gets to bluff their way through the lock.
Module-SIS is a lattice-based hardness assumption, a type of math problem believed to be difficult to solve. The generic group and random oracle models are idealized frameworks cryptographers use to reason about security.
The team also supplied formal proofs of correctness and extraction for the chosen parameters, written in Lean 4. Lean is a proof assistant that checks mathematical arguments by machine. Reviewers can verify the logic directly rather than taking the authors at their word.
One caveat deserves attention. The Groth16 instantiation requires an honest trusted setup. Groth16 depends on a one-time parameter generation ceremony, and if that ceremony is compromised, the guarantees weaken. A scheme marketed for removing trusted intermediaries still carries a trusted step at the very beginning.
Why Bitcoin builders are paying attention
The most immediate crypto use case the research points to is non-interactive proof verification on Bitcoin.
Bitcoin’s scripting language is intentionally limited. It cannot natively verify complex proofs. Current approaches for doing that kind of verification depend on challengers and operators, participants who watch for misbehavior and step in when something goes wrong.
According to the research, Praxis could remove the need for those challengers and operators. Funds or secrets could be locked to a proof, and released automatically to whoever presents a valid one.
That framing has drawn particular discussion around Bitcoin bridges and atomic swaps. Bridges move value between chains and have historically depended on some set of trusted parties. Atomic swaps let two people trade assets across chains so that either both sides complete or neither does.
Background: a decade-plus of almost
Witness encryption was introduced in 2013. Since then, the field has produced plenty of theoretical results and very little deployable code.
Each prior effort tended to give up one of three things: generality across NP, clean provable security, or practical cost. Praxis claims to deliver all three together. That combination is what makes the paper notable, more than any single benchmark.
The Hair-Sahai result established that witness encryption for NP could be done. Praxis argues it can be done on hardware people already own.
What this means
There are practical hurdles to watch. A 7.88 GiB ciphertext is reasonable for a laptop, yet it is far too large to place directly onchain. Builders will need to work out where that data lives and how it is made available. The honest trusted setup requirement for Groth16 also means implementers will need a credible ceremony, or a different proof system, before trust assumptions truly shrink.
The Lean 4 proofs should make security review faster and more rigorous than usual. Nothing in the announcement indicates a live integration with any bridge or protocol.
Disclosure: This article was edited by Estefano Gomez. For more information on how we create and review content, see our Editorial Policy.
The news about what you hold
Follow your stocks and crypto. Read the news about them from hundreds of publishers in Pro.
Privacy policy




