Search papers, labs, and topics across Lattice.
This paper introduces ComputeFHE, an open-source C++ library designed to simplify the development of privacy-preserving applications using Fully Homomorphic Encryption (FHE) based on the TFHE cryptosystem. By providing a user-friendly imperative programming interface and optimized operations, ComputeFHE significantly reduces the computational overhead associated with FHE, achieving performance improvements of up to 3.9x for certain operations. The library also includes a simulation mode for testing and debugging, making it a practical tool for researchers and developers in the field of secure computation.
ComputeFHE cuts the computational costs of Fully Homomorphic Encryption by up to 3.9x, making privacy-preserving applications more feasible than ever.
Fully Homomorphic Encryption (FHE) enables computations to be performed directly on encrypted data while preserving data confidentiality. However, its practical applications remain limited by high computational costs and development complexity. This paper presents ComputeFHE, an open-source C++ library that facilitates the development of privacy-preserving applications based on the TFHE cryptosystem. The library provides encrypted integer and fixed-point data types together with arithmetic, logical, comparison, conditional, and oblivious array-access operations which allow developers to implement algorithms using a familiar imperative programming paradigm. ComputeFHE supports both conventional TFHE arithmetic based on standard two-input logic gates and an optimized Arithmetic Logic Unit (ALU) architecture utilizing FHE-friendly logic primitives. Experimental results demonstrate significant reductions in the number of required bootstrapping operations, achieving performance improvements of up to 3.9x for selected operations. In addition, the library includes a simulation mode that enables testing, debugging, and complexity analysis without performing actual cryptographic computations while providing circuit complexity and bootstrapping costs. Built on top of OpenFHE, ComputeFHE offers a practical and accessible framework for developing and evaluating privacy-preserving algorithms and applications.