Independent desk · exchange watch

Kraken Daily Hub
Updates

Stanford's encryption breakthrough could mark the beginning of a new era for Bitcoin.

Filed: Updated:

Researchers at Stanford University and Byzantine Research introduced Praxis, a general-purpose witness encryption scheme. It reduces ciphertext storage from more than 110 billion gibibytes in an earlier design to 7.88 gibibytes while preserving security. Witness encryption hides information behind verifiable conditions instead of keys or trusted parties. If adopted, it could reduce reliance on custodians, watchers, and fraud monitoring in Bitcoin bridges, scaling systems, smart contracts, and Bitcoin covenants.

Stanford and Byzantine Research Introduce Praxis, a Witness Encryption Scheme That Reduces Ciphertext From More Than 110 Billion GiB to 7.88 GiB

Stanford's encryption breakthrough could mark the beginning of a new era for Bitcoin.

Researchers from Stanford University and Byzantine Research have introduced Praxis, a general purpose witness encryption scheme that could make Bitcoin bridges, scaling solutions, and smart contracts less dependent on trusted intermediaries and continuous fraud monitoring. In the research paper “Praxis: Practical Witness Encryption for NP,” authors David Tse, Nikhil Vanjani, and Psi Vesely describe a construction that reduces ciphertext storage from more than 110 billion GiB in an earlier design to 7.88 GiB at the same security level.

The work sits at the intersection of cryptography and Bitcoin infrastructure. If adopted, witness encryption could let protocols hide information behind verifiable conditions instead of relying on custodians or operators to release it. The researchers say the scheme is intended to be general purpose, meaning it could support many different applications rather than being tied to one narrow mathematical problem.

Witness encryption moves trust from intermediaries to proofs

Witness encryption is a cryptographic technique first introduced in 2013. Instead of encrypting data under a conventional key, it encrypts information against a mathematical statement. Anyone who can produce a valid proof that a predetermined condition has been satisfied can decrypt the information.

For developers building Bitcoin-related systems, that model changes where trust is placed. In a typical bridge or scaling design, one or more parties may need to monitor activity, publish evidence, or release funds when conditions are met. Witness encryption can make access to the needed information conditional on the production of a valid cryptographic proof.

The researchers wrote: “A ciphertext carries its own release condition, with no key to distribute and no party trusted to release the message.”

Praxis is presented as the first construction to combine general-purpose functionality, mathematically established security guarantees under specified assumptions, and computational costs that the authors consider practical. Earlier attempts at general-purpose witness encryption were either computationally impractical or based on assumptions that were later challenged or broken.

Why Bitcoin needs proof-based designs

Bitcoin’s scripting language is intentionally limited. That constraint makes it difficult for developers to directly verify complex mathematical proofs on the network, especially when applications involve computations performed on other blockchains.

Existing systems such as BitVM work around this limitation by moving computation outside Bitcoin. Participants can challenge fraudulent claims through transactions submitted to the main network. In January, Bitcoin zero knowledge rollup Citrea launched its mainnet with a BitVM-based verification mechanism that requires at least one honest participant to challenge fraudulent activity.

Witness encryption offers another path. Rather than depending on watchers to detect and contest fraud, the system can be designed so that the information needed to spend Bitcoin is released only when a valid proof shows that a condition has been satisfied.

In a Bitcoin bridge example, the secret needed to unlock BTC held on the original blockchain could be encrypted against a statement confirming that a corresponding withdrawal has been processed correctly on another network. That could reduce dependence on custodians and on participants tasked with monitoring bridge activity, provided the underlying protocol securely defines and enforces its withdrawal conditions.

The paper also identifies Bitcoin covenants as another potential application. Covenants place restrictions on how coins can subsequently be spent, and witness encryption could help express spending conditions in a more flexible cryptographic form.

How Praxis encrypts secrets against program outcomes

At its core, Praxis allows developers to encrypt a secret against the outcome of a computer program. A person trying to decrypt the information does not need to know the original encryption key. Instead, the decryptor must possess a valid proof that the program has produced the required result.

The construction uses a cryptographic technique known as a witness key encapsulation mechanism. That mechanism generates a secret key that can then be used to encrypt messages of any length through conventional symmetric encryption.

During decryption, someone who has a valid witness needs to recover only one unknown mathematical value through a computational search. Someone attempting to access the same information without a valid witness faces a substantially more difficult problem involving four unknown values.

Praxis relies on a mathematical security assumption known as Module-SIS, which forms part of the foundation of lattice-based cryptography. Unlike earlier witness encryption schemes designed around specific mathematical problems, Praxis supports general computational statements. The same underlying encryption mechanism can therefore accommodate different applications without requiring a separate cryptographic construction for each one.

Storage and computation drop sharply from earlier work

Praxis builds on earlier research by cryptographers Hair and Sahai, whose witness encryption scheme required enormous amounts of storage and computational resources. At a 100-bit security level, the researchers calculated that the earlier construction would require more than 110 billion GiB of ciphertext to encrypt a 100-bit key under the same mathematical statement.

Praxis brings that figure down to 7.88 GiB. According to the paper, ciphertext size and encryption costs fall by more than ten orders of magnitude, while decryption costs fall by more than six.

The scheme uses Groth16, a cryptographic proof system that allows developers to verify complex computations through compact proofs. A single fixed verification key can serve different computational programs. Developers could define encryption conditions using programs written in conventional programming languages such as Rust, provided their execution can be verified through a compatible proof system.

The proposed construction supports existing zero knowledge proof frameworks. Encryption and decryption can take seconds on a laptop, although the operations require approximately 12 GB and 5 GB of memory, respectively.

There is an important caveat. The Groth16 implementation requires an honest trusted setup. Anyone who retains its secret randomness could decrypt ciphertexts generated using the corresponding verification key. That condition places trust in the setup ceremony even if the resulting encryption is designed to reduce trust in runtime intermediaries.

Earlier Bitcoin projects already faced similar limits

Bitcoin developers have already explored witness encryption in attempts to bring advanced transaction functionality to the network.

In September, researchers at Alloc Init introduced Shielded Bitcoin, a proposed privacy-focused system designed to conceal transaction participants and amounts without modifying Bitcoin’s existing consensus rules. The project intends to use a witness encryption construction known as PIPEs to facilitate Bitcoin deposits and withdrawals.

Earlier, in February, Alloc Init founder Misha Komarov disclosed that the second iteration of PIPEs required roughly 330 TB of ciphertext storage, with researchers identifying a possible route toward reducing that requirement to approximately 100 GB.

Those efforts show the practical problem Praxis is trying to solve: witness encryption can express powerful conditions for Bitcoin-related protocols, but earlier constructions have been difficult to use because of extreme storage and computation costs.

Praxis does not prove that Bitcoin bridges, rollups, or covenant-like designs can immediately replace custodial or monitoring components. The research points to a possible cryptographic foundation. Its impact will depend on how securely future protocols define conditions, manage proof systems, and handle trusted setup requirements.

This article is informational and is not investment advice. Cryptographic systems may require further review, implementation testing, and careful protocol design before they can be used in production environments.

Signals#Bitcoin#Witness Encryption#Cryptography#Praxis#Scaling Solutions

Reader notes 0

  • No reader notes yet. Start the thread.