[Paper Review] A Review of Homomorphic Encryption Libraries for Secure Computation
This paper provides a comprehensive review and comparative analysis of six major homomorphic encryption (HE) libraries—SEAL, HElib, TFHE, Paillier, ElGamal, and RSA—evaluating their features, performance trade-offs, and suitability for secure computation. It highlights how these libraries enable privacy-preserving computation on encrypted data, with key contributions including a detailed feature comparison, language support analysis, and real-world application use cases in healthcare, genomics, and smart grids.
In this paper we provide a survey of various libraries for homomorphic encryption. We describe key features and trade-offs that should be considered while choosing the right approach for secure computation. We then present a comparison of six commonly available Homomorphic Encryption libraries - SEAL, HElib, TFHE, Paillier, ELGamal and RSA across these identified features. Support for different languages and real-life applications are also elucidated.
Motivation & Objective
- To evaluate and compare the capabilities of major homomorphic encryption libraries for secure computation in practical applications.
- To identify key trade-offs in performance, supported operations, and implementation complexity across different HE schemes.
- To provide guidance for developers and researchers on selecting appropriate HE libraries based on application-specific requirements.
- To illustrate real-world use cases where homomorphic encryption enables privacy-preserving computation in sectors like healthcare, genomics, and smart grids.
- To support the adoption of homomorphic encryption by summarizing language support, serialization capabilities, and system integration features.
Proposed method
- Conducted a systematic survey of six widely used homomorphic encryption libraries: SEAL, HElib, TFHE, Paillier, ElGamal, and RSA.
- Evaluated libraries based on core features including support for homomorphic addition and multiplication, negative computations, ciphertext packing, bootstrapping, and relinearization.
- Analyzed encryption parameters such as polynomial modulus, coefficient modulus, and noise budget, which affect performance and security.
- Assessed language support (C++, Python, etc.) and serialization capabilities for key and ciphertext persistence.
- Mapped each library to its underlying cryptographic scheme (e.g., BFV for SEAL, BGV for HElib, CGGI for TFHE) and discussed their implications on functionality.
- Provided real-world application scenarios to contextualize library suitability, including healthcare data analysis, genomics research, and smart grid monitoring.
Experimental results
Research questions
- RQ1Which homomorphic encryption libraries support both homomorphic addition and multiplication, and what are their performance trade-offs?
- RQ2How do different libraries handle negative number computations, and what are the limitations in this regard?
- RQ3What are the key differences in language support, serialization, and system integration across the surveyed HE libraries?
- RQ4In what real-world applications—such as healthcare, genomics, or smart grids—can homomorphic encryption be practically deployed, and which libraries are best suited for each?
- RQ5How do encryption parameters and noise budget affect the scalability and efficiency of homomorphic computation in practice?
Key findings
- Microsoft SEAL (based on BFV and CKKS) supports negative computations when using Integer or Fractional encoders, but not with PolyCRTBuilder due to limitations in the Chinese Remainder Theorem.
- TFHE supports fully homomorphic encryption with efficient bootstrapping and is optimized for low-latency operations, making it suitable for privacy-preserving machine learning.
- HElib, based on the BGV scheme, supports both addition and multiplication with high noise budget management via relinearization and bootstrapping, but is computationally intensive.
- Paillier and ElGamal are partially homomorphic schemes, supporting only addition or multiplication respectively, and are more efficient for specific use cases like secure voting or private information retrieval.
- SEAL and HElib provide native serialization APIs for keys and ciphertexts, while others require custom implementation, affecting portability and deployment ease.
- The study identifies that practical deployment of homomorphic encryption is increasingly feasible, with recent progress enabling real-world applications in healthcare, genomics, and smart grids where data privacy is critical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.