Skip to main content
QUICK REVIEW

[Paper Review] Comprehensive Performance Analysis of Homomorphic Cryptosystems for Practical Data Processing

Vasily Sidorov, Ethan Yi Fan Wei|arXiv (Cornell University)|Feb 7, 2022
Cryptography and Data SecurityComputer Science11 citations
TL;DR

This paper evaluates five homomorphic cryptosystems—HElib, SEAL, PyAono, Paillier, and ElGamal—on performance for practical data processing. It finds that partially homomorphic schemes (Paillier and ElGamal) outperform fully homomorphic ones in most operations and can match or exceed HElib and SEAL performance when emulating fully homomorphic computation via a trusted re-encryption agent, especially under optimized conditions with pre-encryption and parallelization.

ABSTRACT

Oblivious data processing has been an on and off topic for the last decade or so. It provides great opportunities for secure data management and processing, especially in the cloud. At the same time, modern computing resources seem to be affordable enough to allow for practical use of homomorphic cryptography. Yet, the availability of products that offer practical homomorphic data processing is extremely scarce. As part of a project aimed at developing a practical homomorphic data management platform, we have conducted an extensive study of homomorphic cryptosystems' performance, the results of which are presented in this work. For this work we chose the following five cryptosystems: fully homomorphic HElib and SEAL, somewhat fully homomorphic PyAono, and partially homomorphic Paillier and ElGamal. In the discussion of the aggregated results, we suggest that partially homomorphic cryptosystems could be used today in certain practical applications, whereas time has not yet come for the fully homomorphic ones.

Motivation & Objective

  • To assess the practical feasibility of homomorphic encryption for real-world data processing using modern computing resources.
  • To compare the performance of five homomorphic cryptosystems—HElib, SEAL, PyAono, Paillier, and ElGamal—across key operations.
  • To evaluate the viability of emulating fully homomorphic computation using partially homomorphic schemes and a trusted re-encryption agent.
  • To identify performance bottlenecks and determine which cryptosystems are suitable for immediate deployment.
  • To guide future development by highlighting efficiency trade-offs and optimization opportunities.

Proposed method

  • Benchmarked five homomorphic cryptosystems—HElib, SEAL, PyAono, Paillier, and ElGamal—on encryption, decryption, key generation, and homomorphic operations (addition, subtraction, multiplication).
  • Measured execution times with minor code modifications to ensure precise timing of each operation.
  • Evaluated performance across a full spectrum of initialization parameters, with results visualized in annex charts.
  • Proposed and simulated a re-encryption-based emulation strategy to simulate fully homomorphic operations using Paillier and ElGamal.
  • Used Algorithm 2 to model a secure computation pipeline for expressions like (a+b)×(c+d), enabling parallelization between compute engine and re-encryption agent.
  • Estimated comparative performance of the emulation versus native FHE schemes (HElib and SEAL) under varying assumptions, including pre-encryption and bootstrapping overhead.

Experimental results

Research questions

  • RQ1Which homomorphic cryptosystem offers the best performance for practical data processing under current hardware?
  • RQ2Can partially homomorphic cryptosystems like Paillier and ElGamal be used effectively to emulate fully homomorphic computation in practice?
  • RQ3How does the performance of emulation-based fully homomorphic computation compare to native FHE schemes like HElib and SEAL?
  • RQ4What is the impact of bootstrapping and parallelization on the overall efficiency of FHE and emulation-based approaches?
  • RQ5How do en-/decryption and key generation times affect the overall performance of homomorphic computation pipelines?

Key findings

  • Paillier is the fastest for addition, subtraction, and key generation; ElGamal is fastest for multiplication.
  • HElib is fastest for encryption, while SEAL is fastest for decryption.
  • PyAono is the least efficient, with multiplication performance 2.2 billion times slower than plaintext and key generation taking over 700 seconds.
  • The emulation of fully homomorphic operations using Paillier and ElGamal with a trusted re-encryption agent performs at 0.63× the time of SEAL and 0.75× the time of HElib when inputs are pre-encrypted.
  • For secure linear regression, the emulation runs at 0.81× the time of SEAL and 1.1× the time of HElib, indicating strong competitiveness.
  • Bootstrapping in HElib (≈600 ms per operation) significantly degrades performance on complex tasks, favoring the emulation approach in practice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.