tonytautai home/local-ai/data-privacy/governance/tech/crypto/homomorphic

./compute --ciphertext

Computing on Data Nobody Can Read.

Homomorphic encryption ai is the technique everyone wants: send ciphertext, get a ciphertext answer, decrypt it yourself, and the server never saw a word. It works. It is also very expensive.

Tony Tautai

homomorphic encryption ai

The Promise

homomorphic encryption ai

With a homomorphic scheme, arithmetic performed on encrypted numbers yields an encrypted result that, once decrypted, equals what you would have got on the plaintext. Push that far enough and a server can run a model on your encrypted document and return an encrypted output it cannot read. No enclave, no trust in a chip vendor, no decryption anywhere outside your own machine. Among everything in our notes on privacy preserving crypto, it is the cleanest idea on paper.

Why It Is Still Rare

Cost. Each operation on ciphertext is vastly slower than on plaintext, and the ciphertext itself is far larger. A language model performs an enormous number of operations per token, and many of them are not the simple additions and multiplications homomorphic schemes handle well. Research systems exist for small models and narrow tasks; for reading a fourteen-page scanned claim form with a modern document model, the compute and the latency are not there yet. We say "yet" deliberately. The field moves, and we would be glad to be out of date.

There is a second cost: the output is encrypted too, so anything the service needed to do with it, such as routing a flagged document to a reviewer, cannot happen on the server side. The whole pipeline has to be rebuilt around the client holding the only key.

What It Would and Would Not Fix

homomorphic encryption ai

It would fix the inference moment on hosted hardware, the gap left by storage encryption. It would not fix what is inside a model's training data, which is a separate problem with its own technique. And it would do nothing about the clerk pasting the plaintext original into a browser chatbot because the encrypted route was slow. The practical privacy failures in small firms are rarely cryptographic.

Against the Plain Alternative

homomorphic encryption ai

For a firm whose documents must not leave the building, there is a simpler way to get "the server never saw a word": do not have a server. A small model on a mini PC on the LAN reads the document in plaintext, but in a room you own, with no path out. The price is hardware and maintenance rather than ciphertext arithmetic. We think that trade is the right one for document work today, and we would rather say so than sell homomorphic encryption as a feature we do not ship.

For the moments this technique does not cover, the rest of the family is short. Storage is in what we wrote about ai data encryption at rest. The hardware route to the same inference goal is in what we wrote about confidential computing ai. People inside a trained model are protected, if at all, by the method in the basics of differential privacy ai explained. And the training-across-sites arrangement where homomorphic aggregation is most seriously discussed is in the basics of federated learning explained.

Watch this one. Of the five, it is the only technique that could one day make the hosted and local answers identical.

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic