All articles

“Encrypted on the device”: what it means for the user

Liav Vinik ·

עברית

When an app says “your data is encrypted”, it is worth asking where, and who holds the key. The products I built are described this way: Onyx as an app whose data is encrypted on the device, and Vantage as an encrypted task manager. Here is what that means in general, and what is worth knowing as a user and as a business owner.

Encryption in plain language

Encryption turns information into text that cannot be read without a key. The important question is where the key is. If it is on the company’s server, the company (or anyone who breaks into it) can open the information. If it is kept only with the user, even the company cannot read it.

Three places to encrypt

What the advantage is

If the data is sensitive, such as income and expenses or a personal task list, encryption on the device reduces what can leak. Even if a server is breached, what is there is information that cannot be read without the key.

What the trade-offs are

What it does not protect against

Encryption on the device will not help if the device itself is infected with malware, or if someone knows the password. It is also not a replacement for a clear privacy policy and for careful building of the rest of the system.

Where the key comes from

Usually the key is not stored as is. It is derived from the user’s password by a function designed to be slow, so that guessing passwords by trial and error is hard. That way the data can be opened only by someone who knows the password. It also explains why there is no ordinary “forgot password” in such systems: if the key is derived from the password, nobody else has a way to bring it back.

Common myths

Questions to ask a provider

When it fits

Encryption on the device suits mainly personal and sensitive information: finances, health, private lists. If the information is not sensitive, or the server needs to process it in order to provide the service, the trade-offs may not be worth it. There is no single right answer, and there are cases where server-side encryption with good access controls is the reasonable choice.

Encryption and privacy

Encryption is one tool among several. Privacy also includes what is collected in the first place, how long it is kept and who it is shared with. An app that collects little, and explains it clearly, contributes to privacy no less than strong encryption. It is worth reading the privacy policy and checking that what it says matches what the app does.

What to remember as a user

If you use an app with on-device encryption, keep your password in a safe place, and check whether you have an encrypted backup option. If you are building such an app, it is worth explaining to users clearly what happens if they forget the password, before they create the account and not after.

How to ask the right questions

When you choose an app, or commission the building of one, it is worth asking: what exactly is encrypted? Where is the key? What happens if the password is forgotten? A clear answer to these questions says much more than the word “encrypted” alone.