Holders who want value or a secret released only when a specific condition is met, without placing an intermediary in control, have a new research result to weigh. 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 for general NP statements. Tse announced the work on his X account. The team presents it as a possible foundation for trustless cross-chain swaps and related applications, not as a deployed system.
Witness encryption has been discussed since 2013 and, for most of that time, has stayed largely unusable. It locks a message to a mathematical statement. Anyone who holds a valid solution, called a witness, can decrypt it. There is no shared secret and no party who decides who may open it. NP is the class of problems whose solutions are easy to check even when they are hard to find. Supporting general NP statements means the locked condition can be almost any verifiable claim, rather than one narrow case built by hand.
The researchers demonstrated Praxis with a verifier for Groth16, a widely used zero-knowledge proof system, on the BN254 elliptic curve. In that instantiation, the ciphertext unlocks when someone presents a valid Groth16 proof. At 100-bit security the ciphertext is 7.88 GiB. That is too large for a short message, yet the authors treat it as small enough to be workable. They say Praxis is more than ten orders of magnitude smaller than the Hair-Sahai constructions, also from 2026, which showed that witness encryption for NP was feasible in principle. Praxis builds on those results and aims at hardware people already have.

The reported costs are modest by cryptographic standards. Encryption takes approximately 2^34.2 base-field multiplications. Decryption, given a valid Groth16 proof, averages roughly 2^33.0 operations. In the authors’ account, both finish within seconds on standard laptop hardware.
Praxis proves extractability in the bilinear generic group model and the random oracle model, relying on the Module-SIS assumption. Extractability means that anyone who decrypts must actually know a valid witness. Module-SIS is a lattice-based hardness assumption. The generic group and random oracle models are idealized frameworks used to reason about security. The team also supplied formal proofs of correctness and extraction for the chosen parameters, written in Lean 4, so reviewers can check the arguments by machine rather than only by reading the paper.
A material limit remains. 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 discussed as a way to reduce reliance on intermediaries therefore still carries a trusted step at the beginning. Before trust assumptions truly shrink, implementers would need a credible ceremony or a different proof system.

The use case the research highlights first is non-interactive proof verification on Bitcoin. Bitcoin’s scripting language is intentionally limited and cannot natively verify complex proofs. Current approaches depend on challengers and operators who watch for misbehavior and intervene. According to the research, Praxis could remove the need for those participants: funds or secrets could be locked to a proof and released automatically to whoever presents a valid one. That framing has drawn discussion around Bitcoin bridges and atomic swaps. Bridges have historically depended on some set of trusted parties. Atomic swaps are meant to let two parties trade across chains so that either both sides complete or neither does.
Earlier witness-encryption efforts tended to give up generality across NP, clean provable security, or practical cost. Praxis is presented as delivering all three. The Hair-Sahai result established that witness encryption for NP could be done. Praxis argues it can be done on ordinary laptops.
Two practical hurdles stay in view. A 7.88 GiB ciphertext may be reasonable on a laptop, yet it is far too large to place directly on-chain, so any builder would still need to decide where that data lives and how it is made available. Nothing in the announcement indicates a live integration with any bridge or protocol. The Lean 4 proofs may make security review faster and more rigorous than usual, but they do not remove the trusted-setup requirement or turn the research into a running custody or bridge design.
