Security
The short version: your records are encrypted on your phone before anything is saved or sent, and we hold no key. This page explains how, and what it costs you.
How the encryption works
Your PIN or passphrase is stretched with PBKDF2 (600,000 iterations) and used to wrap a random data key. The records are encrypted with that data key using AES-256-GCM. Changing your PIN re-wraps the key — 32 bytes — and never touches the records, which is why it is instant however large the vault.
What the server can see
| We hold | We do not hold |
|---|---|
| Your phone number, verified at sign-up | Your name, or anyone's |
| Your email address, if you give one for a subscription or cloud backup | Any medicine, condition, or test result |
| Which plan you are on, and whether it is paid | Filenames, titles, dates, or how many records you have |
| Encrypted blobs, padded to fixed sizes | Your PIN, your recovery codes, or any key |
| When you last backed up | Which doctors appear in your records |
If this entire database were dumped tomorrow, what an attacker would get is a list of phone numbers and email addresses, some subscription states, and blobs they cannot open.
Recovery codes
At setup Prescryption+ gives you two recovery codes and asks who will hold the second — a family member, a partner, someone who will still be reachable in ten years. Either code opens the vault on its own. One drawer catching fire should not cost you thirty years of records.
- Setup cannot be skipped: you confirm you saved the codes before the vault is created.
- Each code is named for its holder ("Me", "Wife", "Bank locker"), and can be printed as a recovery sheet made on the phone.
- Twice a year the app asks whether you can still find them. Checking a code does not use it up.
- Using a code to get back in makes you set a new PIN, and that code stops working.
- You can add a copy, revoke one, or replace them all. Adding one needs your PIN.
We refuse to hold your recovery code
This was proposed and rejected on 19 August 2026, and the refusal is permanent.
A recovery code opens the vault completely. Storing one on our servers would be the same thing as storing the key, and would put the locked box and its key in one database. Every claim on this page would become untrue the day we did it — so we do not, on any plan.
The cost of this, stated plainly. If you forget your PIN and lose both recovery codes, your records are gone. Not recoverable by support, not recoverable by us, not recoverable by a court order. That is the same property that makes them unreadable to everyone else.
Auto-lock
The app locks the moment it goes to the background, and after five minutes without use while it is open. Locking drops the key from memory and clears every decrypted record. Wrong PIN attempts are slowed down. The only pause is while the app itself has opened the camera, a file picker or the share sheet for you — and that is limited to ten minutes.
Screenshots are blocked by default
On Android, screenshots, screen recordings and the recent-apps preview of the app are blank unless you turn on "Allow screenshots" in Settings → App lock. It is off by default. On iPhone, the app is blurred in the app switcher; iOS does not let an app block screenshots, so we do not claim it does.
Where the servers are, and row-level security
Encrypted backups are stored in Mumbai, India (Supabase, ap-south-1). Access is enforced at the database with row-level security, set to deny by default: a signed-in account can reach its own rows and nothing else, which is a rule the database applies rather than something the app is trusted to remember. The tables behind doctor accounts go further — the app cannot reach them at all, only our server functions can.
Server keys: rotated
The server's own secret key — the one our server functions use, never present in the app or on this website — was rotated in November 2026. The earlier keys were deleted, and we checked that the server refuses them. This key never had anything to do with reading your records: those are locked with your key, which we do not have.
AI safety rules
No AI feature is in the app today, and the app makes no AI call. The paid AI features that are coming soon must each pass these rules, with tests, before they ship.
- Record, never advise. No diagnosis, no dosing advice, no interaction checks, no reading of X-ray or ECG images.
- You confirm everything. Nothing AI-read is saved until you have reviewed it beside the original photo and tapped confirm. Every field is editable.
- Only images are sent, and only the minimum needed. Location and device details are stripped from every photo first. No names, phone numbers, emails or account IDs are added to a request.
- What is in your photo is data, never instructions. Text in a document that tries to tell the AI what to do is ignored, and flagged for you to see.
- Fixed output only. The AI must return a strict set of fields. Anything else is rejected, never repaired by guessing, and shown as plain text — nothing clickable.
- No powers. The AI step runs in isolation, with no access to the database, no other secrets, and no ability to take any action. It only returns text.
- Results are checked, not corrected. Medicine names are matched against the on-device index; unusual values are flagged; lab values are copied exactly as printed.
- No retention, no training. The AI provider is set not to keep or train on the data, and our server holds an image only in memory for the call, then deletes it.
- Nothing sensitive in logs. We log only success or failure and timing — never the image, the request, or what was read.
- Limits on the server. File type, size, page count and how often you can call are enforced on our side, whatever the app says.
What we have not built yet
The AI features and the family and caretaker weekly updates are designed and not built; this page describes the rules they are being built to. Payment inside the app is not built either. We would rather list these than let a page imply otherwise.
What we do not claim
A phone that is rooted, jailbroken or infected is outside what any app can protect. And "view only" for a record sent to a doctor cannot stop someone taking a photo of a screen.