Inferensys

Glossary

Homomorphic Encryption

A form of encryption that permits users to perform computations on encrypted data without first decrypting it, generating an encrypted result that matches the result of operations performed on the plaintext.
Operations room with a large monitor wall for system visibility and control.
PRIVACY-PRESERVING COMPUTATION

What is Homomorphic Encryption?

A cryptographic paradigm enabling computation on ciphertexts, producing an encrypted result that, when decrypted, matches the output of operations performed on the plaintext.

Homomorphic encryption is a form of cryptography that permits direct computation on encrypted data without requiring prior decryption. The mathematical operations performed on the ciphertext generate an encrypted result that, when decrypted with the corresponding private key, yields an output identical to what would have been obtained by performing the same operations on the original plaintext. This property eliminates the vulnerable plaintext window during data processing.

The three primary categories are Partially Homomorphic Encryption (PHE), supporting a single operation type; Somewhat Homomorphic Encryption (SHE), allowing limited operations before noise corrupts the ciphertext; and Fully Homomorphic Encryption (FHE), which supports arbitrary computation on ciphertexts. FHE remains computationally intensive but is critical for secure multi-party computation and privacy-preserving machine learning inference.

COMPUTATION ON ENCRYPTED DATA

Key Properties of Homomorphic Encryption

Homomorphic encryption (HE) is a cryptographic primitive that enables direct computation on ciphertexts, generating an encrypted result that, when decrypted, matches the output of operations performed on the plaintext. This eliminates the need to decrypt sensitive data for processing, fundamentally shifting the trust boundary in cloud computing and multi-party data sharing.

01

Partially Homomorphic Encryption (PHE)

Supports a single type of operation—either addition or multiplication—on ciphertexts, but not both. RSA encryption is multiplicatively homomorphic, while Paillier is additively homomorphic. PHE schemes are computationally lightweight and practical for specific use cases like encrypted vote tallying or privacy-preserving aggregation. However, their single-operation limitation prevents general-purpose computation on encrypted data.

< 1 ms
Typical Operation Latency
02

Somewhat Homomorphic Encryption (SHE)

Permits both addition and multiplication but only for circuits of limited depth. Each operation introduces noise into the ciphertext, and once the noise exceeds a threshold, decryption fails. SHE schemes like BGV and BFV use modulus switching and relinearization to manage noise growth. They are ideal for evaluating low-degree polynomials, such as inference on shallow neural networks, but cannot handle deep computations without bootstrapping.

10-100x
Ciphertext Expansion Factor
03

Fully Homomorphic Encryption (FHE)

Enables arbitrary computation on encrypted data through a technique called bootstrapping, which homomorphically evaluates the decryption circuit itself to reset noise levels. First constructed by Craig Gentry in 2009 using ideal lattices, modern FHE schemes like CKKS support approximate arithmetic on real numbers, making them suitable for encrypted machine learning. FHE remains computationally intensive, with operations running 1,000 to 1,000,000 times slower than plaintext equivalents.

1,000-1M×
Overhead vs. Plaintext
04

Leveled Homomorphic Encryption

A practical variant of FHE that evaluates circuits up to a pre-determined multiplicative depth without bootstrapping. By setting parameters to accommodate a specific computation, leveled schemes avoid the enormous cost of bootstrapping. BGV and BFV operate in this mode, making them the workhorses for production privacy-preserving applications where the computation graph is known in advance, such as private information retrieval and encrypted database queries.

Known Depth
Circuit Constraint
05

Lattice-Based Security Foundation

All modern practical HE schemes derive their security from hard problems on mathematical lattices, specifically the Ring Learning With Errors (RLWE) problem. RLWE is believed to be resistant to attacks by both classical and quantum computers, making HE a post-quantum cryptographic primitive. The NIST Post-Quantum Cryptography Standardization process has validated lattice-based schemes, reinforcing confidence in HE's long-term security posture for protecting sensitive data against future adversaries.

Quantum-Resistant
Security Classification
06

Noise Management and Bootstrapping

Every homomorphic operation adds a small amount of noise to the ciphertext to maintain semantic security. Without mitigation, this noise accumulates and corrupts the plaintext upon decryption. Bootstrapping is the process of running the decryption circuit homomorphically on an encrypted ciphertext to produce a fresh encryption of the same plaintext with reduced noise. This is the critical innovation that enables FHE but remains the primary performance bottleneck, often consuming over 90% of total computation time.

> 90%
Bootstrapping Time Share
SCHEME COMPARISON

Types of Homomorphic Encryption

A comparison of the three primary homomorphic encryption schemes based on computational capability, performance, and practical applicability.

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

Supported Operations

Single operation type (addition OR multiplication)

Both addition and multiplication

Both addition and multiplication

Circuit Depth

Unlimited for one operation

Limited, pre-determined depth

Unlimited, arbitrary depth

Computational Overhead

Negligible (1-2x plaintext)

Moderate (10-100x plaintext)

Extreme (1,000-1,000,000x plaintext)

Ciphertext Size Expansion

1-2x plaintext size

10-100x plaintext size

1,000-10,000x plaintext size

Bootstrapping Required

Practical for Production

Example Scheme

Paillier (additive), ElGamal (multiplicative)

BGV, BFV, CKKS

TFHE, FHEW, BGV with bootstrapping

Primary Use Case

Encrypted sums for voting, private ledger aggregation

Private ML inference, encrypted database queries

Arbitrary encrypted computation, private smart contracts

HOMOMORPHIC ENCRYPTION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about performing computations on encrypted data without decryption.

Homomorphic encryption is a cryptographic technique that allows computations to be performed directly on encrypted ciphertexts, generating an encrypted result that, when decrypted, matches the result of the same operations performed on the original plaintext. It works by constructing mathematical operations on ciphertexts that correspond to addition or multiplication on the underlying plaintext, thereby preserving the algebraic structure across the encryption boundary. Partially homomorphic encryption (PHE) supports only one operation type (e.g., unpadded RSA for multiplication, Paillier for addition), while fully homomorphic encryption (FHE) supports arbitrary computations through the evaluation of both addition and multiplication gates on encrypted bits. FHE schemes, first realized by Craig Gentry in 2009, rely on lattice-based cryptography and introduce a controlled amount of noise into each ciphertext. A process called bootstrapping homomorphically evaluates the decryption circuit itself to reset this noise, enabling unlimited depth of computation without requiring decryption.

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.