Inferensys

Glossary

Homomorphic Encryption (HE)

A form of encryption that permits computation directly on ciphertexts, generating an encrypted result which, when decrypted, matches the result of the operations as if they had been performed on the plaintext.
Operations room with a large monitor wall for system visibility and control.
PRIVACY-PRESERVING COMPUTATION

What is Homomorphic Encryption (HE)?

Homomorphic encryption is a cryptographic primitive that enables computation directly on ciphertexts, producing an encrypted result that, when decrypted, matches the result of operations performed on the plaintext.

Homomorphic encryption (HE) is a form of encryption that permits computation directly on ciphertexts, generating an encrypted result which, when decrypted, matches the result of the operations as if they had been performed on the plaintext. This allows a third party to process sensitive data without ever accessing the unencrypted values, preserving confidentiality throughout the computation lifecycle.

HE schemes are categorized by the types and depth of operations they support. Partially homomorphic encryption (PHE) supports only one operation type (addition or multiplication) unlimited times, while fully homomorphic encryption (FHE) supports arbitrary computations on encrypted data. FHE remains computationally intensive but is critical for privacy-preserving machine learning, enabling secure inference and training without exposing raw inputs.

CORE CAPABILITIES

Key Features of Homomorphic Encryption

Homomorphic Encryption (HE) enables computation directly on encrypted data. These core features define its operational boundaries, security guarantees, and performance characteristics.

01

Ciphertext Computation

The defining property of HE: performing mathematical operations directly on encrypted data without first decrypting it. When the resulting ciphertext is decrypted, the output matches the result of the same operations applied to the original plaintext. This preserves data confidentiality during active processing by an untrusted third party, such as a cloud server.

02

Leveled vs. Fully Homomorphic

HE schemes are categorized by their computational depth:

  • Partially Homomorphic Encryption (PHE): Supports only one operation type (e.g., addition or multiplication) an unlimited number of times. RSA is a classic example for multiplication.
  • Somewhat Homomorphic Encryption (SHE): Supports both addition and multiplication but only for a limited number of operations before noise corrupts the ciphertext.
  • Fully Homomorphic Encryption (FHE): Supports arbitrary computation (both addition and multiplication) an unlimited number of times, typically achieved through a bootstrapping procedure that refreshes the ciphertext noise.
03

Noise Management & Bootstrapping

All practical HE schemes rely on adding a small amount of random noise to the plaintext during encryption for security. Each homomorphic operation, especially multiplication, causes this noise to grow. If the noise exceeds a threshold, decryption fails. Bootstrapping is a technique introduced by Gentry that homomorphically evaluates the decryption circuit itself, resetting the noise level to a baseline and enabling unlimited computation, making FHE possible.

04

Lattice-Based Security

Modern, efficient HE schemes (like BGV, BFV, and CKKS) base their security on hard mathematical problems over lattices, most notably the Ring Learning With Errors (RLWE) problem. This is a significant advantage because lattice-based cryptography is currently believed to be resistant to attacks by large-scale quantum computers, making these HE schemes strong candidates for post-quantum cryptography.

05

Packing & Batching

To amortize computational cost, many HE schemes support Single Instruction, Multiple Data (SIMD) operations. This technique, often called batching or packing, allows a single ciphertext to encode a vector of hundreds or thousands of plaintext values. A single homomorphic addition or multiplication on two such ciphertexts performs the operation element-wise on all packed values simultaneously, dramatically increasing throughput for parallelizable workloads.

06

Scheme Variants: BGV, BFV, CKKS

The choice of scheme depends on the application:

  • BFV / BGV: Designed for exact integer arithmetic. Ideal for computations requiring precise results, such as financial transactions or private set intersection.
  • CKKS: Supports approximate arithmetic on real and complex numbers. It treats noise as part of a least-significant-bit error, making it perfect for machine learning inference and other fixed-point numerical computations where perfect precision is not required.
SCHEME COMPARISON

Types of Homomorphic Encryption

A comparison of the three primary categories of homomorphic encryption schemes based on their computational capabilities, performance characteristics, and practical applicability to privacy-preserving machine learning workloads.

FeaturePartially Homomorphic (PHE)Somewhat Homomorphic (SHE)Fully Homomorphic (FHE)

Supported Operations

Single operation type (addition OR multiplication)

Limited number of both addition and multiplication

Unlimited additions and multiplications

Circuit Depth

Unbounded for one operation

Bounded, predetermined

Unbounded, arbitrary

Ciphertext Size Growth

Constant

Grows with circuit depth

Managed via bootstrapping

Bootstrapping Required

Typical Latency (per gate)

< 1 ms

1-10 ms

10-100 ms

Practical for ML Inference

Limited (linear models only)

Yes (shallow networks)

Yes (arbitrary models)

Example Scheme

Paillier, ElGamal

BGV, BFV

CKKS, TFHE

Maturity Level

Production-ready

Production-ready

Early production

HOMOMORPHIC ENCRYPTION CLARIFIED

Frequently Asked Questions

Homomorphic encryption (HE) is a cryptographic primitive that enables computation directly on ciphertexts, producing an encrypted result that decrypts to the correct plaintext output. This FAQ addresses the foundational concepts, performance constraints, and practical deployment models for privacy-preserving machine learning.

Homomorphic encryption (HE) is a cryptographic scheme that permits arithmetic or logical operations to be performed directly on encrypted data without requiring access to the secret decryption key. The computation generates an encrypted result that, when decrypted, matches the output of the same operations applied to the original plaintext. This is achieved by constructing mathematical lattices—specifically, the Ring Learning With Errors (RLWE) problem—that embed a homomorphic property into the ciphertext structure. Each operation on ciphertexts corresponds to a controlled increase in inherent noise; once this noise exceeds a critical threshold, decryption fails. Modern schemes like CKKS (for approximate arithmetic) and BFV/BGV (for exact integer arithmetic) manage this noise budget through techniques such as relinearization and bootstrapping, the latter of which resets the noise level to enable theoretically unbounded computation depth.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.