Encryption in Transit vs at Rest: What AI Tools Promise
"Encrypted" on a vendor page can mean very little. Here is the difference between encryption in transit and at rest, and the four questions that actually matter.
Encryption in transit vs at rest is the difference between protecting data while it travels and protecting it while it sits stored. When an AI tool says "your data is encrypted", it may mean either, both, or neither in any way that helps you. In transit means scrambled on the way between your device and the vendor's servers. At rest means scrambled on the disk or database where it is kept. Both are normal and expected. Neither tells you who can read the data once it arrives, which is usually the question you actually care about.
Encryption in transit
This is the padlock in your browser. MDN explains that TLS, the protocol behind HTTPS, secures a connection in three ways: encryption, so data exchanged between client and server is encrypted while in transit and can't be read by attackers; integrity, so an attacker cannot secretly modify it; and authentication, so each side can prove it is who it claims to be.
What it protects against: someone on the same cafe Wi-Fi, or anywhere along the route, reading or altering what you send. What it does not do: anything about what happens after the data reaches the server. A site can use perfect transit encryption and still store everything in plain view or hand it to anyone it likes.
Encryption at rest
This protects stored data. If someone steals a hard drive, a backup file, or a copy of a database, they get unreadable scrambled bytes instead of your information. OWASP's guidance is that encryption can be applied at the application, database, filesystem, or hardware level, and that the right layer depends on the threat model.
What it protects against: lost or stolen storage, a leaked backup, some kinds of insider access. What it does not do: stop the vendor's own software from reading the data, which it must be able to do to serve you. When the application asks for your record, the system decrypts it automatically. So a hacker who gets in through the application, using a stolen login or a flaw, often sees everything decrypted.
The four questions that matter
Is it encrypted in transit? Almost certainly yes. If a tool does not use HTTPS in 2026, stop there.
Is it encrypted at rest? Usually yes at the infrastructure level, and it is a baseline, not a selling point.
Who holds the keys? Keys held by the vendor mean the vendor can decrypt. Keys held by you, sometimes called customer-managed keys, mean you control access. OWASP advises storing keys in a different location from the encrypted data so an attacker who reaches one does not get both.
What can the vendor still read, and for what? This is the question the word "encrypted" never answers. Can staff view your content? Is it used for training? Is it logged? Retained, and for how long?
The fourth question links to the biggest misunderstanding about AI tools in particular. A chatbot provider that encrypts your conversations at rest can still read them, store them, review them for safety, and use them to improve its models unless its policy says otherwise. Encryption and privacy are different things. To check the training question, see how to check whether an AI tool trains on your data, and for the related question of location, what data residency means.
A decoder for common security claims
The claim | What it usually means | What it does not tell you |
|---|---|---|
"Bank-grade encryption" | Marketing phrase, probably TLS plus encrypted storage | Nothing specific, ask which standards |
"Your data is encrypted" | In transit, probably at rest too | Who holds the keys, who can read it |
"End-to-end encrypted" | Only the sender and recipient can read it | Rare for AI chat tools, since the service must read your text to answer |
"We never sell your data" | A statement about selling | Whether it is used for training or shared with partners |
"SOC 2 compliant" | An independent auditor reviewed controls over a period | That the specific data you share is handled the way you want |
"Private mode" or "temporary chat" | Reduced retention or no history in your view | What is logged server-side, check the policy |
End-to-end encryption deserves a note. It is a strong guarantee that works for messaging between people. For an AI assistant to answer you it has to read your message, so unless a vendor describes precisely how it handles that, treat a claim of end-to-end encryption on an AI chat with suspicion and ask for the technical explanation.
What this means if you build an app
If you build with AI and store customer data, you are the vendor in someone else's security review. The practical baseline is short.
Serve everything over HTTPS and redirect plain HTTP.
Use a database provider that encrypts storage at rest, and confirm it in their documentation.
Never store passwords with reversible encryption. OWASP's position is that passwords should be stored using secure password hashing algorithms. Your authentication provider should handle this, and an AI tool that writes its own password storage code deserves a very careful review.
Store less. OWASP puts it plainly: the best way to protect sensitive information is to not store it in the first place. Card details are the obvious example, and payment providers exist so you do not hold them.
Keep API keys and secrets out of code and out of chat.
Then test the result. Encryption does nothing if access rules are wrong, and a database that is world-readable gives away the data however well it is encrypted on disk. Checking whether your AI-built app exposes user data is the test to run next. Make sure backups are covered by the same protections, as discussed in adding backups to an AI-built app.
How to ask a vendor, politely and precisely
Send three lines: "Is customer data encrypted in transit and at rest, and with what standard? Who holds the encryption keys, and can your staff access plaintext? Is our content used to train models, and how long is it retained after deletion?" A serious vendor can answer in a paragraph. A vague reply is itself information. For the wider set of risks around AI tools, the AI risks overview is the place to continue. For what the browser padlock does and does not prove, see what HTTPS is.
FAQ
Is encryption in transit enough?
No. It protects data while it moves, not after it arrives. You also want encryption at rest and sensible access rules.
If data is encrypted at rest, can the company still read it?
Usually yes, because its systems decrypt it to serve you. Only arrangements where you hold the keys limit that.
Does HTTPS mean a site is safe?
It means the connection is encrypted and the server has proven its identity. It says nothing about whether the site's owner is trustworthy or how they handle your data.
Are AI chats end-to-end encrypted?
Generally no. The service needs to read your message to generate a reply, so you should assume the provider can process what you type.
How did this land?
About the author

Senior Editor, AI & Product
Cecilia leads the Swarmz editorial desk. She has spent a decade turning complex AI and product topics into writing people actually finish, and she owns the blog's quality bar.


