On this page8 sections
In short
Only in limited ways. A model on your device keeps end-to-end encryption intact. A cloud model in an attested enclave, such as Apple's Private Cloud Compute or WhatsApp's Private Processing, decrypts your data on hardware you have to trust, which is strong protection but not end-to-end encryption. Otherwise the feature has to switch off, as Google's AI features do in client-side encrypted Gmail.
Key takeaways
- AI needs readable content, so with end-to-end encryption it has to run on your device, in a verified cloud enclave, or not at all.
- On-device models keep the encryption promise but are limited by your device's memory and processor.
- Apple, Meta and Google run cloud AI in attested enclaves. Apple says complete end-to-end encryption isn't an option for that design.
- Google switches off its AI products and smart features in client-side encrypted Gmail, and Microsoft says Copilot can't use Double Key Encryption content.
- Researchers say training shared models on end-to-end encrypted content isn't compatible with end-to-end encryption, and AI assistants should be opt-in.
Last reviewed 30 November 2026 by Foxcolab Team
AI and end-to-end encryption can work together, but only in a narrow way. A model has to read your content to summarize, translate or answer questions about it, and end-to-end encryption exists so that nobody outside the conversation can read it. So the AI has to run on your device, run in a cloud enclave that your device has verified first, or not run at all. Each option asks you to trust something different.
Why AI and end-to-end encryption collide#
End-to-end encryption is defined by who the "ends" are. An IETF draft that tried to pin the term down (an expired individual draft, not an RFC) puts it simply: an end sends or receives messages, systems that help deliver them "are not 'ends' themselves", and "Confidentiality is broken if content can be decrypted at any intermediate point."
A cloud model that decrypts your message to summarize it is an intermediate point. Apple says this directly about its own design: cloud AI needs unencrypted access to the request, which "precludes the use of end-to-end encryption", so for Private Cloud Compute "complete end-to-end encryption is not an option."
If a provider holds your keys, none of this applies. It can run any model it likes over your data, and that's the ordinary cloud, covered in End-to-end encryption vs encryption at rest.
Three designs that keep content away from the provider#
| Design | Where content is decrypted | Examples | What you still trust | What it costs |
|---|---|---|---|---|
| On the device | Only on your device | On-device speech recognition, Foxcolab Meet captions | Your device, the app's code, the model it downloads | Smaller models, battery and speed |
| Attested cloud enclave | On the provider's servers, inside isolated hardware your device checks first | Apple Private Cloud Compute, WhatsApp Private Processing, Google Private AI Compute | The chip's isolation, the provider's published software, the relay, and outside researchers actually checking | Content is readable inside the enclave, so it isn't end-to-end encryption by the definition above |
| Switched off | Nowhere outside the ends | Gmail with client-side encryption, Microsoft 365 Double Key Encryption | Nothing new | You lose the feature |
On the device#
Running the model where the keys already are keeps the promise intact. A 2024 paper on end-to-end encryption and AI calls endpoint-local models "the safest way to perform inference and training", while noting that most consumer devices can't handle the computation many AI tasks need. Expect smaller models, slower answers and a bigger battery bill.
Watch the defaults, because "on device" can quietly become "on someone's server". In the browser's Web Speech API, speech recognition runs locally only when the page sets processLocally. Leave it at its default and the browser may send audio to a remote service. Speech synthesis voices have a localService flag for the same reason: a voice where it's false comes from a remote service, so the text you're having read aloud leaves the device.
In an attested enclave#
Three large vendors run cloud AI on hardware built to keep even their own staff out. The designs share a pattern.
- Apple Private Cloud Compute. Your device encrypts each request to the public keys of specific server nodes, and only after checking that those nodes run software Apple has published for researchers to inspect. Apple says the device "will not send data to any PCC nodes if it cannot validate their certificates." The nodes delete your data after answering, and Apple's operations staff get no privileged access that could bypass these protections. Apple names the compute node, built on Apple silicon and its Secure Enclave, as the root of trust.
- WhatsApp Private Processing. Meta describes an optional system for features such as summarizing unread threads. Models run in a confidential virtual machine, a third-party relay hides your IP address from Meta, attestations are checked against a third-party log of approved software, and nothing is kept after the session. The Advanced Chat Privacy setting lets people block AI features in a chat. Meta also acknowledges that "vulnerability researchers have repeatedly demonstrated the ability to bypass" the protections these environments promise.
- Google Private AI Compute. Google announced a platform on its own chips with Titanium Intelligence Enclaves, using remote attestation and encryption to connect your device to the sealed environment. Google says your data "remains accessible only to you and no one else, not even Google." It launched in Pixel features such as Magic Cue and the Recorder app.
All three are a large step up from ordinary cloud processing, and the paper above says so: "Hardware solutions represent a substantial security/privacy improvement over plaintext inference." It's also clear that "hardware-backed security is different from E2EE security." Your content is readable inside the enclave, so you're trusting the chip maker's isolation, the vendor's published builds and logs, a relay that doesn't collude, and researchers who keep checking.
Switched off#
When no private processing exists, the honest option is to turn the feature off. Google's help page for Gmail client-side encryption lists "Google AI products" and "Smart features for Gmail" among the features not available when the extra encryption is on. Microsoft says content protected with Double Key Encryption isn't accessible to Microsoft 365 services including Copilot, and you can't use Copilot while working with it.
These products keep keys with the organization rather than each user. Client-side encryption vs end-to-end encryption explains that difference.
Training is a separate question#
Answering your request is one thing. Training a shared model on your content puts something learned from it into a system that serves other people. The same paper is blunt: "Using end-to-end encrypted content to train shared AI models is not compatible with E2EE." It also recommends that AI assistants in encrypted apps be off by default and opt-in, and that providers not make unqualified end-to-end encryption claims when content goes to a third party for AI by default.
Questions to ask any vendor#
- Where does the model run: on my device, in an enclave, or on ordinary servers?
- If it runs in the cloud, does my device check the software before sending anything, and who can audit it?
- Is the feature off by default, and can I block it for a conversation or a document?
- Is my content, or anything derived from it, used to train models?
- Which data sits outside the encryption anyway, such as subjects, file names and other metadata?
Where Foxcolab stands#
Foxcolab keeps your work end-to-end encrypted and keeps AI off it. Foxcolab Drive (files and file names), Docs, Sheets, Notes, Whiteboard, Forms answers, Calendar event details and personal Messenger chats are end-to-end encrypted, and mail from one Foxcolab user to another is end-to-end encrypted. No generative AI runs over that content: nothing summarizes your mail, drafts your documents or answers questions about your files. The features that do process content follow the device rule:
- Foxcolab Meet captions are made on each speaker's device, either by the browser's on-device speech recognition or by a speech model that runs inside the browser. They never use a cloud speech service, and the text goes only to people in the call. Every call is protected in transit, and when you turn on end-to-end encryption for a meeting as you create it, caption text is encrypted with the meeting key too. See Live captions.
- Read aloud in Docs uses only voices installed on your device, because a network voice would send your text to another company's server.
The help search on this site can show an Ask AI answer. It's built only from published Foxcolab pages and the question you type, never from your account.
Our security page says: "End-to-end encrypted work cannot be read by us, so it cannot be used to train AI models. We do not scan or profile your data for advertising." For the engineering side of keeping work on the device, see End-to-end encryption trade-offs and how we handle them.
To keep your team's work out of anyone's training set, create a free account or see plans. Organizations can start with Foxcolab for enterprise or talk to sales.
Frequently asked questions
If an encrypted app adds an AI feature, is my data still end-to-end encrypted?
It depends on where the model runs. On your device, yes. If the feature sends your content to a cloud model, that content is decrypted outside the people in the conversation, even inside a secure enclave. That can be well protected, but it's a different promise from end-to-end encryption.
Can a provider train AI models on end-to-end encrypted data?
Not while keeping the end-to-end encryption promise. A 2024 paper by Mallory Knodel and colleagues concludes that using end-to-end encrypted content to train shared AI models is not compatible with end-to-end encryption.
What is an attested enclave?
A hardware-isolated server environment that proves to your device which software it's running before your device sends it anything. Apple's Private Cloud Compute, WhatsApp's Private Processing and Google's Private AI Compute all use this approach.
Does Foxcolab have AI features?
Foxcolab's apps run no generative AI over your content, so your end-to-end encrypted work never goes to a model in the cloud. Foxcolab Meet's live captions use speech recognition that runs on participants' devices, never a cloud speech service.

Written by
Foxcolab TeamThe people building Foxcolab, a private workspace for email, files, documents, meetings and team chat.
More from FoxcolabWas this article helpful?
One click, no account needed.