International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

A Framework for Witness Encryption from Linearly Verifiable SNARKs and Applications

Authors:
Sanjam Garg , UC Berkeley
Mohammad Hajiabadi , University of Waterloo
Dimitris Kolonelos , UC Berkeley
Abhiram Kothapalli , University of California, Berkeley
Guru Vamsi Policharla , UC Berkeley
Download:
Search ePrint
Search Google
Conference: CRYPTO 2025
Abstract: Witness Encryption (WE) is a powerful cryptographic primitive, enabling applications that would otherwise appear infeasible. While general-purpose WE requires strong cryptographic assumptions, and is highly inefficient, recent works have demonstrated that it is possible to design special-purpose WE schemes for targeted applications that can be built from weaker assumptions and can also be concretely efficient. Despite the plethora of constructions in the literature that (implicitly) use witness encryption schemes, there has been no systematic study of special purpose witness encryption schemes. In this work we make progress towards this goal by designing a modular and extensible framework, which allows us to better understand existing schemes and also enables us to construct new witness encryption schemes. The framework is designed around simple but powerful building blocks that we refer to as "gadgets". Gadgets can be thought of as witness encryption schemes for small targeted relations (induced by linearly verifiable arguments) but they can be composed with each other to build larger, more expressive relations that are useful in applications. To highlight the power of our framework we methodically recover past results, improve upon them and even provide new feasibility results. The first application of our framework is a Registered Attribute-Based Encryption Scheme [Hohenberger et al. (Eurocrypt 23)] with linear sized common reference string (CRS). Numerous Registered Attribute-Based Encryption (R-ABE) constructions have since emerged though a black-box R-ABE construction with a linear--in the number of users--CRS has been a persistent open problem, with the state-of-the-art concretely being $\approx N^{1.58}$ (Garg et al. [GLWW, Crypto 24]). Empowered by our Witness Encryption framework we provide the first construction of black-box R-ABE with linear-sized CRS. Our construction is based on a novel realization of encryption for DNF formulas that leverages encryption for set membership. Our second application is a feasibility result for Registered Threshold Encryption. This is an analogue of the recently introduced Silent Threshold Encryption (Garg et al. [GKPW, Crypto 24]) placed in the Registered Setting. We formalize Registered Threshold Encryption and provide an efficient construction, with constant-sized encryption key and ciphertexts, that makes use of our WE framework.
BibTeX
@inproceedings{crypto-2025-35754,
  title={A Framework for Witness Encryption from Linearly Verifiable SNARKs and Applications},
  publisher={Springer-Verlag},
  author={Sanjam Garg and Mohammad Hajiabadi and Dimitris Kolonelos and Abhiram Kothapalli and Guru Vamsi Policharla},
  year=2025
}