How we encrypt

Your finances are unreadable to us. Here’s exactly how.

eBanny uses end-to-end, zero-knowledge encryption. This page explains it twice: first in plain words, then with the technical detail security people expect.

In plain words

  • Locked on your phone

    Amounts, shops, categories, notes and account names are encrypted on your phone before anything is sent. Our servers only ever see scrambled data.

  • A key only you hold

    On first launch your phone creates a random 256-bit master key. It never leaves your devices unencrypted. We keep only a locked copy that you alone can open.

  • Several ways to unlock

    A passkey (Face ID or fingerprint) is the main way. A 12-word recovery phrase is the spare. A new phone can also be linked by scanning a QR code with your old one.

  • Sharing without trust

    Each shared space has its own key, sealed separately for every member’s device. Invites are confirmed with a 6-digit safety code.

How we encrypt

Technical design

Primitives

All cryptography uses libsodium — the same audited library on iOS, Android and the web.

PurposeAlgorithm
Symmetric encryptionXChaCha20-Poly1305-IETF, random 192-bit nonce per message
SignaturesEd25519
Sealing keys to a devicecrypto_box_seal (X25519 + XSalsa20-Poly1305)
Key derivationcrypto_kdf (BLAKE2b) with fixed contexts
Hashing, PRF, MACBLAKE2b
Password hashing (phrase, PIN)Argon2id v1.3

The key tree

Your master key is 32 random bytes generated on your device. Purpose-specific keys are derived from it with BLAKE2b-based KDF and fixed contexts: one for the local SQLCipher database, one for backing up device keys, a seed for your personal space, and one for backing up shared-space keys. Shared-space keys are random and are not derived from anyone’s master key.

How your master key is unlocked

  • Passkey (primary)

    WebAuthn PRF: your passkey produces a secret that, through BLAKE2b, becomes the key that unwraps your master key. Passkeys sync via iCloud Keychain or Google Password Manager.

  • Recovery phrase

    128 bits of entropy, shown as 12 BIP39 words or a printable code. It’s stretched with Argon2id (64 MiB, 3 passes); a checksum catches typos before any work starts.

  • Linked device

    The new device shows a QR code with its public key and a one-time secret. The old device seals the master key to it — the server can’t substitute its own key.

  • Encryption PIN (fallback)

    Only for older devices without passkey support. Argon2id with 128 MiB and 4 passes, plus server-side rate limiting. We’re upfront that a PIN is the weakest option.

Every change is a sealed envelope

Each batch of changes is padded to a fixed size bucket (256 B to 256 KiB) so the exact size isn’t revealed, encrypted with XChaCha20-Poly1305 and signed with the device’s Ed25519 key. The space, key epoch, device and batch ID are bound in the associated data, so an envelope can’t be replayed, moved or altered without detection.

// envelope = POST /spaces/:id/envelopes
padded     = plaintext ‖ 0x80 ‖ 0x00…   // 256 B · 1 KiB · 4 KiB · 16 KiB · 64 KiB · 256 KiB
AAD        = "ebanny-env|v1|<spaceId>|<keyEpoch>|<deviceId>|<clientBatchId>"
ciphertext = XChaCha20-Poly1305(SK_epoch, nonce24, padded, AAD)
signature  = Ed25519_device(encode(["ebanny-env-sig/v1", spaceId, keyEpoch,
                                    deviceId, clientBatchId, nonce, ciphertext]))

Shared spaces

  • Each space has a random key, sealed separately to every member device with crypto_box_seal.
  • The invite secret lives after the “#” in the link, so it never reaches our server.
  • Before someone joins, you compare a 6-digit safety code derived from the invite secret.
  • Adding or removing people is signed and recorded in a membership log that every device verifies on its own.
  • When someone is removed, the space key rotates, so they can’t read anything new.

AI scanning, import and voice

Before a photo is sent, your phone resizes and re-compresses it, which strips EXIF and location data. In text you paste for import, card and account numbers are masked first. Photos, PDF statement pages and text then pass through our proxy — which doesn’t store them or log their contents — to the AI model (Anthropic) that returns the line items. So you aren’t charged twice for the same file, the recognised result is kept for up to 24 hours, encrypted with a key derived from the file itself. Voice is turned into text by your phone’s speech recognition: on the device when it supports your language, otherwise by Apple’s or Google’s speech service. Only the short text reaches us for parsing. AI features are the one moment content is processed outside your device, which is why we never call them zero-knowledge.

What our servers can see

Your Apple or Google account ID, subscription status, AI usage counters, your devices and their public keys, which accounts belong to which space (as random IDs), and when — and roughly how much — encrypted data syncs. Separately, we keep anonymous daily totals of how many receipt lines landed in each standard category per country, with no user IDs and no amounts.

What we see

  • Your Apple or Google account ID (Apple can hide your email)
  • Your plan and when it renews
  • How many AI scans and voice entries you used this month
  • App version, platform and language
  • Country, detected at sign-in (we don’t keep your IP)
  • Number of devices and shared spaces
  • When you sync, and a rounded size of the encrypted data

What we never see

  • Amounts and balances
  • Shops and merchants
  • Receipt items and receipt photos
  • Notes and descriptions
  • Names of your accounts, categories and spaces
  • Names of people you share with and what they spend
  • Your keys or your recovery phrase

Honest limits

  1. 01

    A removed member keeps what they already saw. New keys protect only new entries.

  2. 02

    Within one key epoch, entries share a key, so there’s no per-message forward secrecy. We chose this so family history stays available to new members.

  3. 03

    Lose all your devices and your recovery phrase, and the data is gone. Nobody can recover it.

  4. 04

    A 6-digit PIN can eventually be brute-forced by someone who steals its locked copy. That’s why it’s only a fallback.

  5. 05

    Our server could delay or hide new entries, but it can’t forge or alter them — devices would notice.

  6. 06

    If your phone is unlocked in someone else’s hands or infected with malware, encryption can’t help.

Found a flaw?

We’d love to hear about it. Write to security@ebanny.com — we answer every report.

Start your private money journey.

Free to download. Set up in under a minute — no bank login, no spreadsheets.