How it works

How your keys keep your data safe

A simple picture of where your data is locked, who holds the key, and what happens if a phone or laptop goes missing.

Your identity key is your account

When you create an account, your device makes an identity key: 24 words, or a key file. There is no email, name or phone number. Every key that locks your data, in every Havyn app, is worked out from these words on your device.

  1. 24 words, made on your device
  2. Your device works out a separate key for each use
  3. Notes, passwords, files and every other app
One identity key unlocks everything. Keep it like the key to your home.

Anyone who has these words or the key file can open your account and read all your data. If you lose them, nobody can recover your account or your data, not even Havyn.

The words never leave your device and are never sent to Havyn. We can’t see them, reset them or send them to you again.

Technical detail: the identity key is 256 random bits, shown as 24 BIP39 words. Keys are derived from it with HKDF-SHA256. Signing in uses a hybrid post-quantum signature (Ed25519 + ML-DSA-65) over a single-use challenge, so the key itself is never sent.

Where to keep the 24 words

Keep them offline, somewhere only you can reach. We don’t recommend storing them in the cloud.

Do

  • Write the words on paper, in order, and keep it somewhere safe, such as a locked drawer or a safe.
  • Keep the key file on a USB drive that you store offline, in a safe place.
  • Keep a second copy in another safe place, in case of fire, flood or loss.

Don’t

  • Save them in a cloud drive or online backup.
  • Email them, even to yourself.
  • Put them in a notes app that syncs to the cloud.
  • Take a photo or screenshot of them. Photos are often backed up to the cloud automatically.
  • Send them in a chat, or give them to anyone who asks. Havyn will never ask for them by email, chat or phone.

Why not the cloud? These words unlock everything. A copy in an online account is only as safe as that account, and it can leak in a breach without you ever knowing.

Encrypted on your device, before anything leaves it

When you save a note, a password or a file, the app locks it on your device first. Only scrambled data is sent to sync and store it. Our servers, and the storage network we use, can keep it and pass it along, but they can’t read it.

  1. Your note, readable only on your device
  2. Locked on your device with your keys
  3. Scrambled data that only your keys can unlock
  4. Servers and storage nodes hold only scrambled data
Your data is unlocked again only on your own devices.

Our advice: for anything sensitive, use Havyn’s apps instead of ordinary cloud storage. Many cloud services encrypt your files with keys they hold themselves, so the service, or anyone who breaks into it, could read them. Havyn’s apps lock your data on your device, and only your keys unlock it.

Each of your devices keeps its own encrypted copy, so your apps also work offline. Syncing only ever moves scrambled data between your devices.

Technical detail: AES-256-GCM with a unique nonce for each item and authenticated metadata, using keys derived from your identity key. Encrypted files are stored on a decentralized network that splits them into pieces across independently operated nodes; your device checks every download for tampering. Servers can still see some metadata, such as sizes and times.

Stored on Storj, a decentralized network

Your encrypted files are stored on Storj, a decentralized storage network. Storj never receives anything readable: by the time a file leaves your device, it is already locked with your keys. This is what Storj does with it, as Storj describes its design.

  1. Your file, already encrypted on your device
  2. Split into segments
  3. Each segment becomes 80 pieces; any 29 rebuild it
  4. The pieces go to independent nodes in many countries
No single node holds a whole file, or anything readable.
  • Checked and repaired. The network keeps auditing nodes to confirm they still hold their pieces. When nodes go offline, it automatically re-creates the missing pieces on other nodes.
  • Not a blockchain. Your files are not stored on a blockchain. Storj pays its node operators with the STORJ token on Ethereum, but your data is never put on a chain, and you never need a wallet or token.
  • One network, one company. The nodes are independent, but Storj is a single provider. Encrypted copies on your devices and encrypted exports mean you are not locked in.

Technical detail: 80 pieces per segment, any 29 of which rebuild it (Reed–Solomon erasure coding), is Storj’s published design, not our own measurement. More on the Security page.

The device password

Each device also has its own password. It locks the Havyn apps on that device, and nothing else. It never leaves the device, and you can use a different one on each device.

Your phone, locked with its own password
The same 24 words, the same account
Your laptop, locked with a different password
The device password only locks that one device. Your 24 words are what bring your account to a device.
  • Forgot it? Enter your 24 words on that device and choose a new password. Your data is not affected.
  • Make it strong: at least 12 characters. If a device is stolen, this password is what stands between the thief and your data.

Technical detail: a device stores only keys derived from your identity key, never the 24 words. Those keys are encrypted with AES-256-GCM under a key made from the device password with Argon2id, a deliberately slow function that makes guessing harder.

If a device is stolen

What a thief can and can’t do, case by case, including the limits.

Protected by your password

The apps are locked

The thief needs the device password. After three wrong passwords in a row, Havyn erases your account from that device. Your synced data is not affected; anything that had not synced yet from that device is lost.

This only stops guessing through the app. Someone who copies the device’s storage can keep guessing elsewhere, so a long, unique password matters.

Locks itself

The apps are unlocked

The apps lock themselves after 10 minutes without use, and you can lock them yourself at any time. Until then, whoever holds the device can use them, as with any unlocked device. After that, the thief needs the password.

What remains

The thief knows your device password

Then they can open your apps on that device and read what is already on it.

Remove it from another device. In Settings → Devices, remove the stolen device and ask it to erase itself. From then on it can’t sign in, sync, send messages or add another device, even with its password. It erases your account from itself the next time it goes online and opens Havyn.

What remains: what is already on the device stays readable to them, and a device kept offline never erases itself. The keys on it could also sign a message or document outside Havyn that would look like yours. A further step, not available yet: replacing your identity key with a new one, which ends that too. Until then, use a device password that is different from your screen lock, and lock the apps when you step away.

Never on a device

What a thief can never get from a device

Your 24 words. Devices never store them, so they can’t be read off the device, its screen or its backups. That doesn’t stop someone who knows your password, but your words stay with you alone.

Lost a device? Your data comes back

Sign in on a new device with your 24 words and choose a new password. Everything that was synced comes back and is unlocked on the new device. Only changes that never synced from the lost device are gone.

  1. Your saved 24 words
  2. A new device and a new password
  3. Your synced data, unlocked again

What Havyn can and can’t see

We can’t see

  • Your 24 words or your device passwords
  • Your notes, passwords, files, messages or anything else you keep in the apps
  • Your name, email or phone number: we never ask for them

Servers can still see

  • That your account exists, and its public key
  • How much encrypted data you store, and when you sync
  • The IP addresses of your devices, and your plan and payments
Not independently audited. Havyn is in early development. Read the full security model and its known limitations before you rely on it for high-risk data.

Read the technical details