5Gen-C: Multi-input Functional Encryption and Program Obfuscation for Arithmetic Circuits
Brent Carmer, Alex J. Malozemoff, Mariana Raykova
Abstract
Program obfuscation is a powerful security primitive with many applications. White-box cryptography studies a particular subset of program obfuscation targeting keyed pseudorandom functions (PRFs), a core component of systems such as mobile payment and digital rights management. Although the white-box obfuscators currently used in practice do not come with security proofs and are thus routinely broken, recent years have seen an explosion of cryptographic techniques for obfuscation, with the goal of avoiding this build-and-break cycle. In this work, we explore in detail cryptographic program obfuscation and the related primitive of multi-input functional encryption (MIFE). In particular, we extend the 5Gen framework (CCS 2016) to support circuit-based MIFE and program obfuscation, implementing both existing and new constructions. We then evaluate and compare the efficiency of these constructions in the context of PRF obfuscation. As part of this work we (1) introduce a novel instantiation of MIFE that works directly on functions represented as arithmetic circuits, (2) use a known transformation from MIFE to obfuscation to give us an obfuscator that performs better than all prior constructions, and (3) develop a compiler for generating circuits optimized for our schemes. Finally, we provide detailed experiments, demonstrating, among other things, the ability to obfuscate a PRF with a 64-bit key and 12 bits of input (containing 62k gates) in under 4 hours, with evaluation taking around 1 hour. This is by far the most complex function obfuscated to date.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Realizing Flexible Broadcast Encryption: How to Broadcast to a Public-Key Directory cites 5Gen: A Framework for Prototyping Applications Using Multilinear Maps and Matrix Branching Programs
- Implementing BP-Obfuscation Using Graph-Induced Encoding cites 5Gen: A Framework for Prototyping Applications Using Multilinear Maps and Matrix Branching Programs
Cited by top-tier papers1
Builds on2
- Implementing BP-Obfuscation Using Graph-Induced EncodingShai Halevi, Tzipora Halevi, Victor Shoup, Noah Stephens-DavidowitzCCS 2017 · 37 citations
- 5Gen: A Framework for Prototyping Applications Using Multilinear Maps and Matrix Branching ProgramsKevin Lewi, Alex J. Malozemoff, Daniel Apon, Brent Carmer et al.CCS 2016 · 31 citations
Related papers
- Implementing Conjunction Obfuscation Under Entropic Ring LWEDavid Bruce Cousins, Giovanni Di Crescenzo, Kamil Doruk Gür, Kevin King et al.S&P 2018 · 27 citations
- The Pseudorandom Oracle Model and Ideal ObfuscationAayush Jain, Huijia Lin, Ji Luo, Daniel WichsCRYPTO 2023 · 10 citations
- Indistinguishability Obfuscation via Mathematical Proofs of EquivalenceAbhishek Jain, Zhengzhong JinFOCS 2022 · 21 citations
- Collusion-Resistant Constrained PRFs for Compute- &-Compare Predicates from LWEJiaqi Cheng, Rishab GoyalCRYPTO 2026
- Quasi-Linear Indistinguishability Obfuscation via Mathematical Proofs of Equivalence and ApplicationsYaohua Ma, Chenxin Dai, Elaine ShiEUROCRYPT 2025 · 5 citations
