Ordinary encryption protects data at rest and in transit, but to compute on it you have to decrypt it first, which means the machine doing the work can see it. Homomorphic encryption breaks that rule: it lets a server run calculations directly on ciphertext and return an encrypted result that, once the owner decrypts it, is exactly what the same calculation on the plaintext would have given. The server never sees the data it is working on.
This post explains what that buys, how the idea went from a decades-old dream to Craig Gentry's 2009 breakthrough and today's libraries, why it is still slow, and where it is actually used. Technical claims here follow the standard references, linked at the end; an earlier draft of this article included invented benchmarks, a mislabeled Google project and fabricated citations, which are corrected.
1. The Holy Grail: Computing on encrypted data without decryption
"Homomorphic" means structure-preserving: an operation on ciphertexts maps to the matching operation on the plaintexts underneath. Add two ciphertexts and you get an encryption of the sum; multiply and you get an encryption of the product. Chain enough additions and multiplications and you can, in principle, evaluate any function, because any computation can be written as a circuit of those two operations.
It is called the holy grail of cryptography because it collapses a long-standing trade-off. Normally you either keep data secret or you compute on it; you cannot do both on someone else's machine. Homomorphic encryption says you can. The catch, which the rest of this post is about, is cost: the encrypted computation is far slower and larger than the plaintext one.
2. Privacy-Preserving Cloud: Sending data to a server you don't trust
The clearest use is outsourced computation. You encrypt your data with your own key, send only the ciphertext to a cloud service, and the service computes on it and returns an encrypted answer that only you can open. The provider runs the workload without ever holding the data or the key.
This is a different guarantee from ordinary "encryption at rest," where the provider decrypts to process and you are trusting it not to look or leak. With homomorphic encryption the plaintext never exists on the server at all, so a breach of that server, or a curious insider, yields only ciphertext. The limit is practical, not conceptual: only computations cheap enough to be worth the overhead are feasible today.
3. Partially vs. Fully Homomorphic: Mathematical progression to Gentry
Partially homomorphic schemes, which support just one operation, are old and efficient. Unpadded RSA is multiplicatively homomorphic; ElGamal likewise; the Paillier cryptosystem (1999) is additively homomorphic and is still used for exactly that. Each is useful, but limited to a single kind of operation, so it cannot evaluate an arbitrary program.
The open question for over thirty years was whether a scheme could support both addition and multiplication without limit. The obstacle is noise: lattice-based ciphertexts carry a small random error that grows with each operation, fast under multiplication, and once it passes a threshold the ciphertext no longer decrypts. In 2009 Craig Gentry solved it. His scheme, built on ideal lattices, introduced bootstrapping: the ciphertext is refreshed by having the scheme evaluate its own decryption circuit homomorphically, which resets the noise and lets computation continue indefinitely. That made fully homomorphic encryption (FHE) real.
4. The Performance Wall: Why FHE is still orders of magnitude slower
FHE is slow, but not uniformly. Homomorphic addition is cheap. Homomorphic multiplication is much costlier and is what drives noise growth, and bootstrapping, the noise-reset step, is the most expensive operation of all, which is why leveled schemes avoid it by fixing in advance how deep a circuit they will evaluate. The headline "millions of times slower" figures that circulate are about bootstrapped or deep computations, not a single addition.
The costs come from the math. Ciphertexts are polynomials with large coefficients, so a single multiplication is a polynomial multiplication (done with number-theoretic transforms) followed by noise-management steps such as relinearization and modulus switching. Keys and ciphertexts are large, often megabytes, so memory bandwidth matters as much as arithmetic. The overhead has fallen by orders of magnitude since 2009 through better schemes, batching and hardware, but it remains the main barrier to everyday use. Precise slowdown numbers depend entirely on the scheme, parameters and circuit, so this post does not quote a single figure as if it were universal.
5. Use Case — Healthcare: Analyzing genomic data without seeing the sequence
Genomic and clinical data are both valuable to analyze and strictly protected. Homomorphic encryption offers a way to run an analysis on a cloud server, or to pool encrypted data across hospitals, so that a model can be evaluated or a variant looked for without any party seeing the raw sequence. The output comes back encrypted and is opened only by the data owner.
This is an active research area rather than routine practice. The iDASH "Secure Genome Analysis" competition has run tasks on homomorphically encrypted genomic data for years, and schemes like CKKS, which works on approximate real numbers, suit the kind of arithmetic that machine-learning inference needs. The honest status is that specific, shallow computations are demonstrable now; general analysis at population scale is still gated by the performance wall of section 4.
6. Use Case — Voting: Verifying a tally without revealing individual ballots
Elections want two things that pull against each other: a tally anyone can trust and ballots no one can trace. Additively homomorphic encryption fits neatly. Each voter encrypts their ballot, the encrypted ballots are combined into one encrypted total, and only that total is decrypted, so the per-candidate counts come out while individual votes stay sealed.
This is real and predates FHE. The open-source Helios system uses homomorphic tallying with exponential ElGamal and has been used for binding elections, such as the election of the president of the Université catholique de Louvain in 2009. Decryption is typically split among several trustees so that no single party can open a ballot, and the encrypted ballots can be published so anyone can recompute the aggregate and check the result. (The hex "encrypted counts" an earlier draft tabulated were illustrative, not real data.)
7. Lattices and Noise: The underlying math of modern FHE schemes
Modern FHE rests on lattice problems, specifically Learning With Errors (LWE), introduced by Oded Regev in 2005, and its efficient ring variant, Ring-LWE. Security comes from the hardness of recovering a secret from noisy linear equations, a problem believed to resist quantum computers, which is why lattice schemes are also the basis of post-quantum cryptography. The same noise that provides security is the thing computation must fight.
The standard toolkit for managing it is small and shared across schemes: modulus switching to rein in noise growth, key switching and relinearization to keep ciphertexts in a usable form after multiplication, batching (packing many values into one ciphertext for SIMD-style parallelism), and bootstrapping as the last resort. The main second-generation schemes differ mostly in what data they target: BGV (2011) and BFV (2012) for exact integer arithmetic, CKKS (2016) for approximate arithmetic on real and complex numbers, and the TFHE family for very fast bootstrapping of Boolean circuits.
8. The Future: What a mature FHE actually changes
It is tempting to say FHE would make "data breach" meaningless, and that overstates it. If data is only ever processed under encryption, a compromised server leaks ciphertext instead of plaintext, which is a large gain. But keys must still be protected, decrypted results still exist somewhere, side channels still matter, and most systems will not put every computation under FHE. It narrows the attack surface; it does not abolish it.
What is genuinely moving is the engineering. Usable open-source libraries exist, Microsoft SEAL, IBM's HElib, and OpenFHE (the successor to PALISADE), standardization efforts are under way through the HomomorphicEncryption.org community, and hardware acceleration is an active target. The realistic near future is not universal encrypted computing but a growing set of specific, high-value workloads, in healthcare, finance and privacy-preserving machine learning, where the overhead is worth paying.
Conclusion
Homomorphic encryption lets untrusted machines compute on data they cannot read. Partially homomorphic schemes have done a limited version of this for decades; Gentry's 2009 bootstrapping result made the unlimited version possible, and the schemes since, BGV, BFV, CKKS and TFHE, have made it progressively less impractical.
The honest summary is that the theory is settled and the cost is the story. Addition is cheap, multiplication is dear, bootstrapping is dearest, and whether a given application is feasible is a question of how deep its circuit is and how much slowdown it can absorb. Where that math works out, as in homomorphic vote tallying, it is already in use.
References
- Homomorphic encryption (Wikipedia)
- Gentry, C. (2009). Fully Homomorphic Encryption Using Ideal Lattices. STOC 2009.
- Brakerski, Z., Gentry, C., & Vaikuntanathan, V. (2011). Fully Homomorphic Encryption without Bootstrapping (BGV).
- Fan, J., & Vercauteren, F. (2012). Somewhat Practical Fully Homomorphic Encryption (BFV).
- Cheon, J. H., Kim, A., Kim, M., & Song, Y. (2016). Homomorphic Encryption for Arithmetic of Approximate Numbers (CKKS).
- Learning with errors (Wikipedia)
- Microsoft SEAL
- OpenFHE (successor to PALISADE)
- HElib (IBM)
- Helios Voting