← Back to DoseStream

Ed25519 Encryption: Why Your Health Data Should Stay Yours

How DoseStream keeps your medication data private — and why that matters more than you think

Published August 2024 · 8 min read

When you download a medication reminder app, you're handing it something deeply personal: the complete picture of your health. Every pill you take, every condition you manage, every injection you give yourself. It's a data profile that insurance companies would love to see. Pharmaceutical companies would pay for it. Hackers would exploit it.

So here's a simple question: who should have access to your medication data?

DoseStream's answer: you, and the people you choose. Not us. Not pharmaceutical companies. Not anyone else. And the technology that makes this possible is Ed25519 asymmetric encryption.

The Problem with Most Health Apps

Most medication apps operate on a simple model: your data goes to their servers, stored in a database, and sent back to your phone when needed. The data is often stored in plaintext or with basic server-side encryption — meaning anyone with database access can read it.

Some of the largest medication reminder apps have partnerships with pharmaceutical companies. Their privacy policies disclose that they share de-identified patient data with third parties for research and marketing purposes. While this is legal — and common in the industry — it raises a fundamental question: did you consent to your medication data being used this way?

You wouldn't let a stranger read your medical records. Yet millions of people hand their complete medication history to apps that store it on someone else's servers, readable by someone else's employees, and shareable with someone else's partners.

What Is Ed25519?

Ed25519 is a public-key signature system based on the Ed25519 elliptic curve. It was introduced in 2011 by Daniel J. Bernstein and colleagues, and it's become one of the most respected encryption systems in modern cryptography.

Here's how it works — without the maths:

The Postbox Analogy

Imagine a postbox with two keys. One key is public — anyone can have a copy, and it lets you put encrypted mail into the box. The other key is private — only you have it, and it's the only key that can open the box and read the mail.

In Ed25519 terms:

Why Ed25519 Specifically?

Ed25519 has several properties that make it ideal for health data:

How DoseStream Uses Ed25519

When you install DoseStream, the app generates an Ed25519 key pair on your device. Your private key never leaves your phone. Your public key is registered with the sync service.

When data needs to sync — for example, when you take a medication and the update needs to reach your care circle — here's what happens:

At no point can DoseStream's server read your medication data. It's a relay, not a reader.

Ed25519 vs HMAC: What's the Difference?

Many apps use HMAC (Hash-based Message Authentication Code) for data integrity. HMAC is fine for verifying that data hasn't been tampered with — but it doesn't provide encryption or privacy.

Feature Ed25519 (DoseStream) HMAC (Many Apps)
Encryption Yes — data is unreadable to the server No — only verifies integrity
Key sharing Public key can be shared freely; private key stays on device Same shared secret on both ends — if server is compromised, data is exposed
Server can read data? No Yes — the server has the shared secret
Non-repudiation Yes — signatures prove who sent data No
Use case Private, end-to-end encrypted communication Verifying data hasn't been altered in transit

Why Health Data Privacy Matters

Medication data is health data. Your medication list reveals:

In the wrong hands, this data can be used for:

Your medication list is a medical record. Treat it like one.

The DoseStream Promise

DoseStream's privacy commitment is simple:

This isn't a feature. It's a founding principle.

DoseStream will be available on Google Play.

£8.75 forever. No subscriptions. No ads. No data selling.

Coming Soon to Google Play