Praxis preprint proposes cheaper witness encryption for testing Bitcoin bridges
In brief
- Praxis is a cryptography preprint by David Tse, Nikhil Vanjani and Psi Vesely, cleared for posting Nov. 23
- Praxis aims to shrink the data locked behind a proof and the work needed to encrypt it
- Authors calculate a 7.88 GiB encrypted package at a 100-bit security level
- Caveats include gigabytes of data, uncounted proof-generation costs and a trusted-setup risk
How the scheme works
The paper (a preprint, so it hasn't been through peer review) describes how to set a condition for opening encrypted information. In the authors' example, someone holding a valid mathematical proof that the condition was met can recover the key that unlocks the data.
Why does that matter for Bitcoin? CryptoSlate's explanation walks through a bridge case, where a design using witness encryption could let a proof that a user gave up a claim unlock the information needed to authorize a bridge payment. Checking a compact proof of a complicated calculation directly on Bitcoin is harder, because Bitcoin's scripting language offers a limited set of on-chain checks.
Earlier BABE research used witness encryption for one specific kind of mathematical check. Praxis was designed for a much wider range of conditions that can be checked efficiently, which CryptoSlate said could let researchers test more designs without asking Bitcoin to run the complicated proof check itself. Bitcoin PIPEs v2, another earlier proposal, encrypts a Bitcoin signing key behind a condition; Praxis is a separate preprint about the underlying type of encryption.
The numbers are the authors' own
In the paper's example, the authors calculated that the encrypted package would take up 7.88 GiB at their stated 100-bit security level. They also estimated that package size and encryption work were each below one ten-billionth of the costs they calculated for earlier designs by Hair and Sahai, for the same condition, key length and security level.
Those figures weren't measured or independently verified. They're calculated sizes and operation counts, compared across schemes with different security assumptions.
What's still missing
Praxis is still a proposal.
Anyone opening a Praxis package would still need access to several gigabytes of encrypted data, and the authors counted opening costs only from the point a valid proof already existed (so the cost of generating that proof isn't included).
There's also a trust issue. The proof system in the example needs an honestly run setup, and the authors said anyone who kept that setup secret could make passing proofs and open packages tied to it.
A real bridge would have to tie the proof and the resulting signing authority to the intended recipient and amount. Turning the encryption scheme into a working withdrawal system is a separate task.
Frequently asked questions
What is the Praxis preprint about?
Praxis is a cryptography preprint by David Tse, Nikhil Vanjani and Psi Vesely, cleared for posting on Nov. 23. It describes how to set a condition for opening encrypted data, so someone with a valid proof that the condition was met can recover the key. It proposes reducing the size of that data and the work needed to encrypt it.
How could Praxis relate to Bitcoin bridges?
The authors list bridges without a custodian as a possible application. A witness-encryption design could let a proof that a user gave up a claim unlock the information needed to authorize a bridge payment, avoiding a complicated proof check on Bitcoin, whose scripting language offers limited on-chain checks.
What are the limitations of Praxis?
In the authors' example the encrypted package is 7.88 GiB, so openers need several gigabytes of data. Opening costs exclude proof generation, and the example proof system needs an honestly run setup. A working bridge would still need to tie signing authority to the intended recipient and amount.


