Cointime

Download App
iOS & Android

Homomorphic Encryption

Current encryption technology is incredibly valuable. It underpins the Internet, lies at the heart of Web3, and empowers individuals to protect their personal information. However, traditional encryption schemes have a major limitation—data has to be decrypted before it can be analyzed and computed. Naturally, decrypting private data and exposing it to third parties undermines the reasons to encrypt data in the first place.

Homomorphic encryption overcomes this limitation by enabling encrypted data to be computed, meaning you can get cloud providers or web-based services to compute your data without ever having to expose your raw data to them. For organizations and individuals who value data privacy, homomorphic encryption is set to enable vastly higher levels of functionality—without compromising security.

What Is Homomorphic Encryption?

Outsource the computation of a function f(x) on data x to a server, without revealing the data to the server.

Homomorphic encryption is a cryptographic technique that allows computations to be performed on encrypted data—without requiring decryption. That means raw data can remain fully encrypted while it’s being processed, manipulated, and run through various algorithms and analyses. This enables you to keep data private while sharing it with third parties for computation. Given that current encryption methods cannot run computations on encrypted data, homomorphic encryption is set to unlock many exciting use cases.

Why is homomorphic encryption so transformative? Imagine you want to use a service that tests your genome to identify risk factors for genetic diseases. With most of today’s platforms, you’d be giving a third party complete access to your DNA, along with the medical conditions you may currently have or be at high risk for. Homomorphic encryption could enable you to access all the benefits of this service without having to expose a single sequence of your personal genome data.

Although homomorphic encryption was envisioned in 1978 by Rivest, Adleman, and Dertouzos, it wasn’t until 2009 that it was first fully constructed—a feat achieved by a brilliant MacArthur Fellowship recipient and computer scientist named Craig Gentry. Here’s how Gentry described homomorphic encryption, analogizing it to wearing special gloves that enable you to manipulate objects locked inside of a black box:

“Anybody can come and they can stick their hands inside the gloves and manipulate what’s inside the locked box. They can’t pull it out, but they can manipulate it; they can process it… Then they finish and the person with the secret key has to come and open it up—and only they can extract the finished product out of there.”

Homomorphic Encryption Use Cases

Computing AI algorithms on encrypted data is possible thanks to homomorphic encryption.

Secure Artificial Intelligence/Machine Learning

AI/ML algorithms can be trained on sensitive data without the raw data ever being exposed. This guaranteed data privacy can give large populations of individuals the confidence and security needed to share their data with AI projects, providing them with the huge volumes of raw data necessary to run AI algorithms that make a real-world impact.

Imagine a medical researcher who wants access to a hospital’s patient data so she can run an AI algorithm that identifies the optimal treatment for a rare form of cancer. Unfortunately, the hospital can’t share that data because it would breach their privacy standards. However, they could send their encrypted data to the researcher—enabling her to identify the optimal cancer treatment while keeping individual patient data completely private.

Secure Cloud Computation

Traditional cloud-based computation methods require access to unencrypted data to perform computations, which exposes sensitive data to cloud operators and any malicious actors that breach the network. With homomorphic encryption, cloud servers can compute directly on encrypted data and return encrypted results to the owner of the data, who can then decrypt them locally.

Regulatory Compliance

Data privacy regulations such as GDPR have created privacy challenges for businesses across the globe. Homomorphic encryption can expand a company’s ability to provide online services to citizens, whilst still meeting regulatory requirements and protecting user data.

Secure Voting

Voters can securely cast their votes without ever having to reveal who they voted for. This could make elections fairer and more transparent, and the enhanced privacy could encourage voter participation. A simple Paillier encryption scheme—a partially homomorphic encryption type—could be used to add up votes in a way that keeps them secret and allows third parties to verify the accuracy of the vote count.

Supply Chain Security

Many companies must share sensitive data with their contractors, vendors, and other third parties so they can coordinate their supply chains and operations. Even if these third parties never act maliciously, exposing raw data to a supply chain software system creates an attack vector. Homomorphic encryption can help companies mitigate these risks by using encrypted data within their backend systems, which can compute the necessary actions required for third parties without ever exposing any sensitive data.

Types of Homomorphic Encryption Schemes

Partially Homomorphic Encryption

The simplest type, partially homomorphic encryption, enables either additions or multiplications to be performed on the encrypted data, but not both. It can compute the product or sum of a dataset.

Somewhat Homomorphic Encryption

Somewhat homomorphic encryption allows for both addition and multiplication operations to be performed on the encrypted data, although it has some limitations. Specifically, the number of operations that can be performed is bounded and the accuracy of the computation may degrade as more operations are performed. This scheme can be useful for evaluating simple functions or performing basic statistical analyses.

Leveled Fully Homomorphic Encryption

A more advanced scheme, leveled fully homomorphic encryption can perform an arbitrary number of computations on encrypted data, as long as it has a pre-defined sequence of computations to be specified ahead of time. It can be used for complex computations such as machine learning (ML) algorithms and secure multi-party computation (MPC).

Fully Homomorphic Encryption (FHE)

The most advanced type, FHE allows any number of computations to be performed on encrypted data without a predefined sequence or limit. Any computation on plaintext data, including ML and MPC, can be evaluated. However, FHE schemes are currently computationally expensive, making them impractical for many use cases.

Conclusion

The impact of a new technology rises exponentially when combined with similarly transformative innovations. For example, blockchains gained much more functionality with the introduction of smart contracts, then oracle networks unlocked entire new design spaces across DeFi, NFTs, and insurance, and now zero-knowledge proofs are helping the Web3 ecosystem scale to support hundreds of millions of users.

Not only does homomorphic encryption unlock many exciting use cases on its own, it can also bring together two of the most transformative technologies in the world today—Web3 and AI. Oracle networks could play a key role in enabling AI algorithms to compute encrypted data stored on blockchains in a secure, reliable, and decentralized manner. While further research into homomorphic encryption is needed to make fully homomorphic encryption more cost-effective and scalable, homomorphic encryption is already enhancing data privacy and security, and this trend is set to continue.

Read more: https://blog.chain.link/homomorphic-encryption/

Comments

All Comments

Recommended for you

  • ZachXBT Questions Low Bounty for XRP Ledger: $250,000 Insufficient to Incentivize White Hats

    On October 12, on-chain investigator ZachXBT publicly criticized the XRP Ledger Foundation's handling of recent security vulnerabilities and its bounty mechanism. ZachXBT stated that for a serious vulnerability that could lead to unlimited issuance of XRP, the official organization with billions in reserves only offered a $250,000 bounty to the white hat hacker who responsibly reported the issue. He believes that such a low reward mechanism fails to incentivize security personnel and may instead encourage future attackers to exploit high-risk vulnerabilities for hundreds of millions in profit, directly stating that this approach undermines industry trust in both the XRP Ledger and Ripple. Previously, the XRP Ledger Foundation announced that the recent security vulnerabilities had been fixed and that no additional XRP had been issued.

  • SkyAI Plans $201 Million Cash Tender Offer, Rejects Forward Industries Acquisition Proposal

    On October 12, Solana Treasury company SkyAI (SKYA) announced its plan to initiate a cash tender offer to acquire up to 95% of its outstanding common stock and warrants at $3 per share, involving approximately 46.4 million shares of common stock and about 20.7 million warrants, for a total amount of approximately $201 million. The company expects to fund this offer using existing cash and proceeds from the sale of its Solana assets. The tender offer is expected to launch on Thursday and last for 10 business days, although it may be delayed or terminated early. Additionally, SkyAI's board has rejected a non-binding all-stock acquisition proposal from Forward Industries (FWDI), which suggested exchanging 0.306 shares of Forward Industries stock for each share of SkyAI stock, as the board believes it undervalues the company.

  • Ukrainian President Zelensky: We Are Ready to Sign a Ceasefire Guarantee Agreement

    Ukrainian President Zelensky: We are ready to sign a ceasefire guarantee agreement.

  • Wu Qing to Attend 2026 Financial Street Forum Annual Meeting and Deliver Keynote Speech

    On October 12, during the press conference for the 2026 Financial Street Forum Annual Meeting, Wang Li, Deputy Director of the General Office of the China Securities Regulatory Commission (CSRC), announced that CSRC Chairman Wu Qing will attend the opening ceremony of the forum on October 19 and deliver a keynote speech. Additionally, several other CSRC leaders and heads of relevant departments and systems will also participate in related activities of the forum. Wang Li introduced that on October 21, the CSRC will host a main forum focused on 'Building First-Class Investment Institutions to Serve the High-Quality Development of Capital Markets and Share New Investment Opportunities in China.' The main forum will include leadership speeches and keynote presentations, as well as two roundtable discussions, which will cover nurturing and expanding patient capital and long-term investment opportunities in China's capital market under bilateral openness. Experts from well-known domestic and international industry institutions will be invited to discuss topics such as industry empowerment, investment trends, compliance development, and international cooperation.

  • Coinbase Bitcoin Premium Index Remains Negative for 19 Consecutive Days

    As of October 12, according to Coinglass data, the Coinbase Bitcoin Premium Index has remained negative for 19 consecutive days, currently reported at -0.12%, marking a recent low and indicating a persistent weakness in purchasing power in the U.S. market. This index measures the difference between the Bitcoin price on Coinbase and the global market average price. A negative premium typically reflects significant selling pressure in the U.S. market, a decline in investor risk appetite, increased market risk aversion, or capital outflows.

  • Hyperliquid Leads Perpetual DEX Volume with $48.1 Billion in Last 7 Days

    On October 12, according to statistics from Hyperliquid Daily (@HYPERDailyTK), Hyperliquid ranked first in nominal trading volume among perpetual contract decentralized exchanges (Perp DEX) over the past 7 days, with $48.1 billion. Kalshi followed with $14.9 billion, trade.xyz with $12.2 billion, Lighter with $11.7 billion, Aster with $10.8 billion, GMX with $8.8 billion, edgeX with $6.4 billion, Polymarket with $4 billion, Ondo Finance with $1 billion, and fomo with $852.5 million.

  • Hong Kong to Launch Second Spot Solana ETF on October 13

    On October 12, according to official news from Solana, Hong Kong will welcome its second spot Solana ETF, the Pando Solana ETF (2831.HK), which is set to be listed on the Hong Kong Stock Exchange on October 13. Solana reported that the global net asset size of spot SOL ETFs currently stands at $1.9 billion, with a cumulative net inflow of $1.61 billion.

  • BTC Surpasses $84,000

    Market data shows that BTC has surpassed $84,000, currently priced at $84,004.27, with a 24-hour increase of 1.25%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Ethereum Foundation-Linked Wallet Transfers 4,393 ETH to Kraken Worth $11.13 Million

    On October 12, on-chain analyst Yu Jin reported that 4 hours ago, two wallets associated with the Ethereum Foundation transferred 4,393 ETH (valued at $11.13 million) to the trading platform Kraken. The wallet that sent the ETH today received 59,751 ETH from the Ethereum Foundation wallet 10 years ago, of which 49,751 ETH has been gradually transferred to Kraken over the past decade at an average price of approximately $658.

  • BTC Surpasses $84,000

    Market data shows that BTC has surpassed $84,000, currently priced at $84,035.16, with a 24-hour increase of 1.16%. The market is experiencing significant volatility, so please ensure proper risk management.