Stanford researchers on Monday unveiled a cryptographic construction that shrinks witness-encryption costs by more than ten orders of magnitude, potentially letting Bitcoin enforce complex spending conditions without changing its consensus rules.
Praxis: A New Era for Practical Witness Encryption
David Tse, a professor at the Stanford University and co-founder of the Bitcoin-Staking-Protokolls Babylon, presented the work with Nikhil Vanjani and Psi Vesely of Byzantine Research on November 23. The preprint, titled “Praxis: Practical Witness Encryption for NP,” appeared on the International Association for Cryptologic Research archive.
Witness encryption, first proposed in 2013 by Sanjam Garg, Craig Gentry, Amit Sahai and Brent Waters, flips the usual key model: a message is encrypted against a mathematical statement, and anyone holding a valid proof — or “witness” — that satisfies the statement can decrypt it.
Previous constructions were either prohibitively large, limited to narrow applications, or relied on assumptions later questioned. Praxis claims to combine general applicability, mathematical security guarantees, and practical compute requirements for the first time.
No way! If this is real, Bitcoin might be technologically saved after all lmfao https://t.co/0KAKwsECGa
Efficiency Gains: From 110 Billion GiB to 7.88 GiB
At a 100-bit security level, Praxis produces a ciphertext of 7.88 gibibytes. Encryption takes roughly 20 billion base-field multiplications; decryption with a valid witness averages 8.6 billion. Both operations run on a laptop in seconds, using 12 GB of RAM for encryption and 5 GB for streamed decryption.
A construction that the researchers Hair and Sahai published in 2026 required more than 110 billion GiB for a comparable task.
“A ciphertext contains its own release condition, without a key needing to be distributed and without a trusted party needing to release the message,” the researchers explained.
Implications for Bitcoin Bridges
The breakthrough could reshape Bitcoin bridges. Today, designs like BitVM, that Robin Linus 2023 vorstellte und das inzwischen in Version 2 vorliegt, rely on interactive challenge periods and at least one honest operator to dispute fraud.
Praxis would let developers encrypt the spending material for a Bitcoin withdrawal under a statement proving the counterpart chain’s operation completed correctly. Crypto researcher Eric Wall added that if genuine, Bitcoin is “technologically perhaps still saved.”
If this witness encryption construction holds up against independent peer review, it will fundamentally improve Bitcoin bridges. Eliminating the need for operators and making deposits and withdrawals non-interactive. https://t.co/fov9vXytwf
Lingering Challenges and Verification Ahead
Hurdles remain. The Groth16-based implementation requires a trusted setup; if the secret randomness is retained, its holder could forge proofs and decrypt associated ciphertexts. The 7.88 GiB ciphertext is too large for direct on-chain inclusion, demanding reliable off-chain storage and distribution.
The construction also relies on pairing-based cryptography and is not quantum-resistant. The paper has not yet undergone formal peer review, and its security parameters, cost estimates, and implementation requirements need independent verification.