---
title: "Homomorphic Encryption (HE) — definition | Nuri Glossary"
description: "Computing on encrypted data so an operator can process values it never sees."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/homomorphic-encryption"
---

# Homomorphic Encryption (HE)

Computing on encrypted data so an operator can process values it never sees.

## Basically

Homomorphic encryption lets people work with your data while it stays locked. They can produce a result without seeing the data, and you can unlock that result later.

## Key Takeaways

- Homomorphic encryption lets you compute on encrypted data without decrypting it. The decrypted result matches what you would get from the same computation on plaintext. Possible uses include confidential DeFi and encrypted on-chain voting.
- Three types exist with increasing capability: partially homomorphic encryption supports one operation, somewhat homomorphic encryption supports limited operations, and fully homomorphic encryption supports arbitrary computation. Craig Gentry constructed fully homomorphic encryption (FHE) in 2009. FHE relies on lattice-based cryptography, making it resistant to quantum attacks.
- FHE remains 100x to 10,000x slower than plaintext computation, but hardware acceleration and optimised schemes are closing the gap. Blockchain projects such as Zama's fhEVM and Fhenix are bringing confidential smart contracts to EVM-compatible chains.

## What Is Homomorphic Encryption?

Homomorphic encryption (HE) lets you perform mathematical operations directly on encrypted data, called ciphertext. The decrypted result matches the outcome of the same operations on the original plaintext data. Traditional encryption requires decryption before processing, while HE keeps data encrypted throughout the computation.
Rivest, Adleman, and Dertouzos first proposed the concept in 1978, one year after the publication of RSA. A scheme that could handle arbitrary computations remained an open problem for over 30 years. Craig Gentry published his Stanford PhD thesis, "A Fully Homomorphic Encryption Scheme," in 2009, demonstrating the first working construction and earning the ACM Doctoral Dissertation Award and the Grace Murray Hopper Award.
Public blockchains need transparency for verification, but many financial applications need privacy. HE lets encrypted data be processed on-chain while preserving confidentiality and verifiability. HE also complements other privacy technologies, including zero-knowledge proofs and multi-party computation.

## How It Works

Homomorphic encryption transforms data into ciphertexts that preserve algebraic structure. Adding or multiplying two ciphertexts produces another valid ciphertext that decrypts to the sum or product of the original values. This property, called homomorphism, makes computation on encrypted data possible.

## The Three Types

Homomorphic encryption schemes are classified by the range of operations they support. Their capabilities fall into three types.
Partially homomorphic schemes have been used for decades, and RSA, published in 1977, is multiplicatively homomorphic: multiplying two RSA ciphertexts produces an encryption of the product of the underlying plaintexts. The Paillier cryptosystem, published in 1999, is additively homomorphic. These schemes are efficient but limited to a single operation type, which restricts their usefulness for general computation.
Somewhat homomorphic schemes support both operations but only for a limited number of consecutive steps. Each operation introduces noise into the ciphertext. Excess accumulated noise corrupts the result after too many operations, making correct decryption impossible.
Fully homomorphic encryption removes this depth limitation through a technique called bootstrapping. Bootstrapping enables arbitrary computation on encrypted data.

## Bootstrapping

Bootstrapping is the key innovation that makes FHE possible. It refreshes a noisy ciphertext by homomorphically evaluating the decryption function itself. The process works as follows:
The secret key is never exposed during bootstrapping, and only an encrypted version is used. Noise can be reset after each computation step, allowing unlimited sequential operations. Bootstrapping is also the most computationally expensive part of FHE, with a single bootstrap operation taking anywhere from 30 milliseconds to several seconds depending on the scheme and hardware.

## Cryptographic Foundations

All modern FHE schemes are built on lattice-based cryptography, specifically the Learning With Errors (LWE) and Ring-LWE (RLWE) hardness assumptions. Recovering the secret from a system of approximate linear equations with small random errors is believed to be computationally intractable, even for quantum computers.
The lattice foundation gives FHE an advantage over elliptic curve cryptography because it is believed to resist attacks from quantum computers. NIST's post-quantum cryptography standards, CRYSTALS-Kyber and CRYSTALS-Dilithium, share the same underlying hardness assumptions as FHE schemes.

## Major FHE Schemes

Four FHE schemes dominate current implementations. Each scheme is optimised for different use cases.

## A Simple Example

A lending protocol may need to check whether a borrower's collateral ratio exceeds a threshold without revealing the exact balance. Homomorphic encryption lets the protocol perform that check while the balance stays encrypted.

## Confidential DeFi

FHE enables DeFi protocols where transaction amounts, positions, and balances remain encrypted on-chain, while encrypted order books prevent front-running and sandwich attacks because MEV searchers cannot read pending orders. Private lending protocols can evaluate health factors and trigger liquidations without exposing individual positions. Encrypted AMM pools can process swaps without revealing trade sizes to observers, addressing the dark pool use case natively on-chain.

## Encrypted Voting

On-chain governance suffers from voter influence because seeing how others vote before a proposal closes creates bandwagon effects and strategic voting. FHE allows ballots to be submitted as encrypted votes and tallied homomorphically, with the final result decrypted only after voting closes so each vote is cast independently. The approach preserves the transparency of on-chain tallying while keeping individual ballots private.

## Compliance-Preserving Privacy

FHE can bridge the gap between regulatory requirements and user privacy. A privacy pool using FHE could allow a compliance oracle to verify that a transaction meets KYC/AML requirements without accessing the underlying user data. The oracle performs its checks on encrypted inputs and returns an encrypted compliance attestation, never seeing plaintext identity information.

## Confidential Token Transfers

FHE enables encrypted ERC-20-style tokens where balances and transfer amounts are encrypted on-chain. The Confidential Token Association, co-founded by Inco Network, OpenZeppelin, and Zama, published a Confidential Token Standard for this use case. FHE-based tokens differ from confidential transactions that use Pedersen commitments to hide amounts because they support arbitrary programmable logic over encrypted balances.

## Zama and fhEVM

Zama is an open-source cryptography company building tools to make FHE practical, and its core blockchain product is fhEVM (Fully Homomorphic Ethereum Virtual Machine), a framework that enables confidential smart contracts on any EVM-compatible chain. fhEVM uses the TFHE scheme for fast bootstrapping and allows developers to write Solidity contracts that operate on encrypted data types. Zama's fhEVM public testnet launched in July 2025.
Zama also released the first fully open-source hardware accelerator for FHE, called a Homomorphic Processing Unit (HPU). The HPU is implemented on FPGA and bundled with Zama's TFHE-rs library.

## Fhenix

Fhenix is building an FHE-powered Layer-2 blockchain for confidential smart contracts and has raised $22 million across seed and follow-on rounds. Its key product is CoFHE, an FHE coprocessor that can plug into any EVM chain to provide encrypted computation without requiring developers to have deep FHE expertise. Developers write standard Solidity with encrypted data types.

## Inco Network

Inco Network is a modular Layer-1 blockchain that combines FHE with ZK proofs, TEEs, and MPC to provide a universal confidentiality layer for EVM and SVM chains. Inco raised $5 million in a strategic round led by a16z CSX in April 2025 and launched Inco Lightning on Base Sepolia. The project also co-founded the Confidential Token Association to standardise encrypted token implementations.

## HE vs. Other Privacy Technologies

Homomorphic encryption is one of several cryptographic approaches to privacy on blockchains. Each approach solves a different aspect of the privacy problem.
The key distinction is that ZK proofs let you prove something about data without revealing it, but the prover must know the data, while HE lets a third party compute on data they never see. MPC distributes computation across multiple parties who each hold a share, while TEEs rely on trusted hardware. Developers often combine these technologies, and Inco Network uses FHE alongside ZK proofs and TEEs for different layers of its confidentiality stack.
Zero-knowledge proofs also have specific applications to Bitcoin. The entry Zero-Knowledge Proofs: Bitcoin Applications provides a deeper comparison.

## Performance Overhead

FHE remains significantly slower than plaintext computation. Current CPU-only implementations run 1,000x to 10,000x slower than equivalent unencrypted operations. GPU acceleration, batching, and optimised schemes like CKKS can narrow the gap to 10x to 100x for throughput-oriented workloads, but FHE-based smart contract platforms currently achieve only 10 to 30 transactions per second on commodity hardware.
Hardware acceleration is progressing rapidly: Zama's open-source HPU on FPGA, custom ASIC designs, and GPU frameworks have collectively improved FHE performance by 1,000x to 10,000x compared with implementations from five years ago. The DARPA DPRIVE program has funded hardware-software co-design projects specifically targeting FHE bootstrapping latency. FHE-based systems remain far from matching the throughput of conventional blockchains.

## Ciphertext Expansion

FHE ciphertexts are much larger than their plaintext equivalents, and a single encrypted integer may expand to kilobytes or even megabytes of ciphertext data. Ciphertext size directly increases storage costs and bandwidth requirements on a blockchain. Ciphertext expansion ratios of 10x to 1,000x are common depending on the scheme and security parameters.

## Key Management Complexity

FHE introduces additional key management challenges. FHE systems require more than standard public and private keys, including bootstrapping keys that can be gigabytes in size, evaluation keys for specific operations, and careful key distribution protocols. Shared encrypted state on a blockchain also raises the question of who holds the decryption key, often requiring threshold decryption via MPC or distributed key generation.

## Maturity and Auditability

FHE implementations are relatively young compared with traditional cryptographic libraries, and fewer researchers and practitioners have audited FHE code paths. Subtle implementation bugs could compromise privacy guarantees, while the complexity of FHE schemes makes formal verification more difficult. Security parameters must be chosen carefully because overly aggressive choices can make the scheme vulnerable, while overly conservative choices further degrade performance.

## Quantum Considerations

FHE's lattice-based foundations are believed to be post-quantum secure, but this has not been proven beyond reasonable doubt. Advances in quantum algorithms could potentially threaten lattice-based hardness assumptions. The entry Post-Quantum Cryptography and the Bitcoin Threat explains more about how quantum computing affects cryptographic systems.

## Why It Matters

Homomorphic encryption changes the options available for blockchain privacy. Most blockchain privacy solutions today require trade-offs: you either lose composability with shielded pools, rely on trusted hardware with TEEs, or limit functionality to proof generation with ZK proofs. FHE offers the possibility of fully programmable, fully private smart contracts where encrypted state can be composed across protocols, the same way transparent DeFi works today.
Bitcoin Layer-2 networks and stablecoin infrastructure could use FHE for confidential balance tracking, private payment routing, and compliant-but-private transfers. Hardware acceleration and algorithmic advances could make FHE a foundational building block for the next generation of privacy-preserving financial infrastructure as its performance improves.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
