Security

Updated 19 October 2026

In short: your messages, photos, voice notes, files, locations, your name and photo are locked on your phone before they are sent, and only the people you're talking to can unlock them. We run the server that passes them along, and it only ever holds scrambled data it cannot read. This page explains exactly how, including what we can still see and what we haven't built yet.

1. How it works

Nexsaya uses NaCl, a widely used, openly published encryption standard, through the open-source tweetnacl library, which has been independently reviewed. We don't use home-made encryption.

  • Your keys. When you sign up, your phone creates its own key pair (X25519). The private key is stored in your phone's secure storage and never leaves it. Only the public key is shared, so others can send you messages.
  • Messages. Each message is sealed on your phone with NaCl "box" (X25519 key agreement plus XSalsa20-Poly1305 encryption) for the person you're writing to. Poly1305 also detects any change, so a message can't be altered on the way without your phone noticing.
  • Groups. A group message is sealed separately for each member's phone. The group's name, description and photo are locked with a group key that only members have.
  • Photos, videos, voice notes and files. Each file is locked with its own random key (XSalsa20-Poly1305) before it is uploaded. That key travels inside the encrypted message, so our storage only holds unreadable files.
  • Your profile. Your name, photo and "about" line are encrypted too, readable only by people you chat with.
  • Chat backup. If you turn it on, your keys are locked with your backup password before they leave your phone. The password is stretched with scrypt so that guessing it is slow. Your phone also makes a random 24-character recovery code (about 120 bits) that locks a second copy, for when the password is forgotten. We never receive the password or the code and can't reset either. Wrong guesses are limited.
  • SOS links for people without the app. The location page is encrypted. Its key is only in the part of the link after #, which browsers never send to any server.
  • Voice and video calls. Audio and video are encrypted between the two phones (WebRTC with DTLS-SRTP). The call is set up with messages sealed with NaCl box to each person's key, so our server can't read or change them or place itself in the middle. Calls go phone-to-phone when possible; otherwise through our relay (TURN), which only passes the encrypted stream along. To connect instantly, the called phone sets up ICE and DTLS while ringing with every media track inactive (no microphone, camera or playback) and relay-only candidates, so its IP address isn't revealed before answering; answering enables the tracks and allows direct routes.
  • Translation. Done by your phone's own translator. Your text isn't sent to us or anyone else.
  • Notifications. A notification carries the new message still sealed exactly as above. On iPhone, the app's own notification helper opens it on your phone, using a copy of your key kept in the keychain and shared only with that helper, and adds the sender's name from your phone's own list. Apple, Expo and our server only ever pass the sealed message along. Locked chats always show only "New message", and you can turn names or text off.
  • Photos, videos and files. Each file gets a random 256-bit key and 192-bit nonce and is sealed with NaCl secretbox in 1 MB pieces; each piece's nonce carries its piece number. The key, nonce, piece count and exact size travel inside the end-to-end encrypted message, and the app refuses a file whose pieces were reordered, dropped, cut short or padded.
  • Web app hardening. The web app runs under a strict Content Security Policy: it can only run its own script and connect to our own server, so injected code can't load scripts or send data elsewhere.
  • Secret messages. The text is sealed with NaCl secretbox (XSalsa20-Poly1305) using a one-time key K = K1 ⊕ K2 made from two random 32-byte halves. K1 travels inside the end-to-end encrypted message; K2 is held by our server in memory and, so running secrets survive a restart, stored only sealed with AES-256-GCM under SECRETS_KEY (a 256-bit key kept outside the database and its backups), with the secret's id, chat, sender and end time as associated data so a stored K2 can't be moved or extended; it is never logged. K2 is released over TLS only to members of that chat, only before the timer ends, and only after unlocking: Face ID or the passcode on the main phone (checked by the phone), or a 6-digit email code on a linked device (checked by the server, 5 tries, 10 minutes). K2 alone reveals nothing, so the server can't read the secret; timers run from 1 minute to 7 days; once the timer ends K2 and its sealed copy are destroyed and nobody can open the message again, even from a copy or a database backup (the message stays as an unreadable "Disappeared for everyone" card). Opened text stays in memory only and locks after 15 minutes or when you leave the app.
  • Linked devices. The new device shows a QR code with a one-time public key. Your phone scans it, checks with our server that the key matches, and sends your keys sealed to that one-time key (NaCl box). Our server only relays the sealed bundle. Unlinking a device stops its sign-in at once.

2. What our server can and cannot see

It cannot see: message text, photos, videos, voice notes, files, locations, translations, your contacts' names, your profile name or photo, or your private keys.

It can see what it needs to deliver messages: your phone number, your public key, who you're chatting with and when, who calls whom and when, roughly how big a message or file is, whether it was delivered or read, and your settings. This is called metadata. We keep only what's described in our Privacy Policy.

3. Check it yourself

  • Verify a contact. In a chat, tap the person's name → Encryption. Scan each other's QR code, or compare the 60 numbers on both phones. If they match, the keys on both phones are the real ones and no one is in the middle, including us. Verified contacts get a green shield. If a verified contact's key changes, the app stops and asks you before you send anything else.
  • Look at the traffic. If you are technical, you can route your phone through a network inspector. You'll see that only encrypted data leaves the app.
  • It's in writing. This page and our Privacy Policy describe exactly how the app works, so we can be held to them.

4. Honest limits

  • No forward secrecy yet. Each phone keeps one long-term key. Apps like Signal change keys with every message, so that even a stolen key can't unlock older messages. Today, if someone stole your phone and got your private key out of it, they could read your past messages too. This is the main upgrade on our list (below).
  • Your phone is the weak point. Encryption protects messages on the way and on our server. It can't protect a phone that is unlocked in someone else's hands, or one with spyware on it. Use a passcode, and App lock or locked chats for anything sensitive.
  • The other person has your messages. They can screenshot, forward or show them to others. That includes secret messages while they are open: copying is allowed, and a phone can't stop a screenshot.
  • Metadata. We can't read your messages, but our server knows who talks to whom and when (see section 2).
  • Linked devices share your key. Your computer or iPad gets a copy of your account key when you link it, so each linked device is one more place that key lives. Unlink devices you no longer use.
  • Secret messages are our own design. They are built from standard parts (NaCl, AES-256-GCM), but the two-half scheme itself hasn't been reviewed by outside experts yet, and nothing can erase what someone already saw or copied.
  • Not yet independently audited. Our encryption library has been reviewed, but the Nexsaya app itself hasn't had an outside security audit yet.

5. What's next

  • Forward secrecy, so a key stolen in the future can't unlock old messages.
  • A separate key for each linked device, so linking a computer no longer copies your phone's key.
  • An independent security audit, with the report published here.
  • Publishing the app's encryption code so anyone can read it.

We'll update this page as each of these happens.

6. Report a security problem

Found a vulnerability? Please email [email protected] with the details and the steps to reproduce it. We'll reply within a few days, keep you updated, and credit you if you'd like once it's fixed.

Please give us a reasonable time to fix it before telling anyone else, don't access or change other people's data, and don't disrupt the service. If you follow these rules, we won't take legal action against you for your research. Our contact details are also in security.txt.

Coming soon

We are still working on this.

Questions in the meantime? Email us: