Key takeaways

  • Homomorphic encryption lets a server compute on encrypted data and return an encrypted result that only the key holder can read.
  • It is slow because every operation adds noise to the ciphertext, and bootstrapping, the step that resets the noise, is the most expensive operation.
  • Belfort's Bel-0, released November 30, 2026, runs Llama 3.1 8B under FHE at 1.7 tokens per second, and the preview uses one shared key, so it is for test data only.

Homomorphic encryption is encryption that lets a computer do arithmetic on data while the data stays encrypted. You encrypt 3 and 4, send both to a server, the server adds them without the key, and what comes back decrypts to 7. The server never sees a number in the clear. Fully homomorphic encryption (FHE) is the version that can run any computation this way.

The idea is back in the news because Belfort, a spin-off of the cryptography group at KU Leuven, released Bel-0 on November 30, 2026, a research preview it describes as the first large language model that runs entirely on encrypted data. It answers at about two tokens a second. Wired, which covered the release the same day, called it "comically slow". Both descriptions hold, for the same reason homomorphic encryption has stayed a niche tool for 17 years.

What homomorphic encryption does

Ordinary encryption protects data on disk and on the network. To compute on it, someone has to decrypt it first. A chatbot prompt travels encrypted, and then the provider's servers read it in the clear.

Microsoft's SEAL library describes homomorphic encryption as a way to let the cloud compute directly on encrypted data without decrypting it first. The result stays encrypted, and only the holder of the secret key can open it. The server gets a separate evaluation key, which lets it do the operations and, per the Homomorphic Encryption Standard, tells it nothing about the messages.

Partial vs fully homomorphic encryption

Partially homomorphic encryption supports one operation. Basic RSA is the old example: multiply two RSA ciphertexts and you get a ciphertext of the product of the two messages. That property led Rivest, Adleman and Dertouzos to ask in 1978 whether a scheme could support every operation.

Nobody knew how to build one for 31 years. Craig Gentry's Stanford thesis, dated September 2009, proposed the first.

In between sit somewhat homomorphic and leveled schemes. They support both addition and multiplication, but only up to a depth fixed in advance. The limit comes from noise.

Why homomorphic encryption is slow: noise and bootstrapping

Modern schemes are built on lattice problems. They hide each message by mixing it with the secret key and a small random error, the noise.

Every operation on a ciphertext makes the noise bigger, additions a little and multiplications a lot. Zama's TFHE-rs documentation says that after too many operations the noise overflows into the message bits. Then decryption fails.

Gentry's fix was bootstrapping. The server runs the decryption function homomorphically on a noisy ciphertext, using an encrypted copy of the secret key. Out comes a fresh ciphertext of the same message with low noise.

Bootstrapping is the expensive part. Belfort's technical report gives illustrative costs for one scheme: about 0.01 milliseconds for an encrypted addition, 0.1 for a multiplication, 10 for a bootstrap.

And only additions and multiplications are native. Comparisons, divisions and exponentials have to be approximated. SEAL's README is blunter than most marketing: "Homomorphic encryption is not a generic technology: only some computations on encrypted data are possible."

The main schemes: BGV, BFV, CKKS and TFHE

Scheme Paper Works on Good for
BGV Brakerski, Gentry, Vaikuntanathan, 2011 Integers, exact Counting, statistics, lookups
BFV Fan, Vercauteren, 2012 Integers, exact Same as BGV
CKKS Cheon, Kim, Kim, Song, 2016 Real numbers, approximate Machine learning
TFHE Chillotti, Gama, Georgieva, Izabachène, 2016 Bits and small integers Comparisons, lookup tables

CKKS made the trade that matters for AI. Its results are slightly approximate, which neural networks tolerate. TFHE went the other way and made bootstrapping itself fast: its paper cut a bootstrap from about one second to under 0.1 seconds.

SEAL (version 4.7) implements BFV, BGV and CKKS. OpenFHE, at version 1.6.1 since October 9, 2026, adds TFHE-style schemes. TFHE-rs is Zama's Rust implementation of TFHE.

Where homomorphic encryption is used today

Apple wrote in October 2024 that it uses BFV for caller ID, so a server can return information about an incoming number without learning the number. Enhanced Visual Search in Photos works the same way: the phone encrypts a numeric description of a possible landmark, and the server matches it against a global index without decrypting it.

These jobs need few multiplications in a row. A language model is the opposite.

Homomorphic encryption in AI: why an LLM under FHE is hard

Bel-0 runs Meta's Llama 3.1 8B, which has 8 billion parameters in 32 layers. Belfort's report lists what goes wrong under encryption. Every layer contains functions that are neither additions nor multiplications, such as softmax, and each needs a polynomial approximation. Thirty-two layers of chained multiplications use up the noise budget many times over, so every layer needs its own bootstraps.

Belfort uses CKKS on eight NVIDIA B200 GPUs. Its numbers, none of them independently tested:

  • First token after 4.8 seconds, then 1.7 tokens per second, which Belfort says is more than 20 times faster than the best academic prototypes. A 100-token answer takes about a minute.
  • The encrypted model picks a different next token from plain Llama 3.1 8B in 0.028% of cases.
  • At its cheapest, Bel-0 delivers an estimated 2,800 tokens per dollar. The same model unencrypted on an on-premise GPU delivers 5.6 million, 2,000 times more.

A request holds at most 513 tokens, prompt and answer together, with no conversation history. The preview serves one user at a time.

The detail that matters most is in the limitations section: every user of the preview shares one secret key, generated by Belfort. Anyone who gets a ciphertext can decrypt it. So for now Bel-0 demonstrates speed and protects nothing, and Belfort says to use test data only. Per-user keys will each need about 45 GB of evaluation keys uploaded to the server.

The cost gap is the number to watch, more than tokens per second. Belfort plans to close it with Bel-1, its own model designed for encryption, in 2027, and a dedicated chip in 2029. Both are targets.

How it differs from end-to-end encryption and confidential computing

End-to-end encryption usually describes messaging: the people talking hold the keys, and the server in between passes ciphertext along without working on it. A chatbot can't work that way, because the model has to process the prompt. FHE lets the server process the prompt and still not read it.

Confidential computing takes the practical route. The data is decrypted, but only inside a trusted execution environment (TEE), an isolated, hardware-based area meant to keep out everyone else, the cloud operator included. That is Microsoft's description for Azure. The catch is what you have to trust: the chip maker, the firmware and the software in the enclave. Belfort, which has an obvious interest here, lists a run of published attacks on Intel and AMD enclaves, one with a memory interposer costing under $50.

FHE moves the trust from hardware to math. It still leaks: Belfort's report says the server sees when a request was made, from which address and roughly how long it was. The lattice problems underneath are the same family behind NIST's 2024 post-quantum standards.

Until per-user keys ship, Bel-0 is something to try at bel.belfortlabs.com with data you don't mind sharing.

Frequently asked questions

What is fully homomorphic encryption?

Fully homomorphic encryption (FHE) is homomorphic encryption that supports any computation on encrypted data, not one kind of operation or a fixed number of steps. Craig Gentry proposed the first such scheme in his 2009 Stanford thesis, using a step called bootstrapping to reset the noise that builds up in ciphertexts.

Why is homomorphic encryption so slow?

Only additions and multiplications are native, and each multiplication adds noise that has to be cleared by bootstrapping, the most expensive step. Belfort says its encrypted Llama 3.1 8B delivers about 2,800 tokens per dollar at best, against 5.6 million for the same model unencrypted on an on-premise GPU.

Is homomorphic encryption used in real products?

Yes, for small lookups. Apple said in October 2024 that it uses the BFV scheme for caller ID lookups and for Enhanced Visual Search in Photos, so its servers answer queries they cannot read.

How is homomorphic encryption different from confidential computing?

Confidential computing decrypts the data inside a hardware-protected area called a trusted execution environment, so you trust the chip and its software. Homomorphic encryption never decrypts the data on the server, so the protection rests on the math and on who holds the key, at a much higher computing cost.

Sources

  1. A fully homomorphic encryption scheme (PhD thesis, 2009)Craig Gentry, Stanford University
  2. Homomorphic Encryption Standard, version 1.1HomomorphicEncryption.org
  3. Fully Homomorphic Encryption without BootstrappingIACR Cryptology ePrint Archive
  4. Somewhat Practical Fully Homomorphic EncryptionIACR Cryptology ePrint Archive
  5. Homomorphic Encryption for Arithmetic of Approximate NumbersIACR Cryptology ePrint Archive
  6. Faster Fully Homomorphic Encryption: Bootstrapping in less than 0.1 SecondsIACR Cryptology ePrint Archive
  7. Introducing Bel-0: an LLM that runs on encrypted dataBelfort
  8. Bel-0 never sees your prompt. It still knows the answer.Belfort
  9. Microsoft SEAL READMEMicrosoft
  10. OpenFHE READMEOpenFHE
  11. TFHE-rs: Security and cryptographyZama
  12. Combining Machine Learning and Homomorphic Encryption in the Apple EcosystemApple Machine Learning Research
  13. Azure confidential computing overviewMicrosoft
  14. An Actual End-to-End Encrypted AI Chatbot Has Arrived, Sort OfWired

Add ClaudeGPT Si as a preferred source on Google