Sendant

Blog / Understanding Your Privacy: How X3DH and Double Ratchet Protect Your Conversations

Sendant blog

Understanding Your Privacy: How X3DH and Double Ratchet Protect Your Conversations

Discover the cryptographic foundations that keep your messages private and learn how to evaluate the security protocols protecting your digital conversations.

By Sendant · Published July 29, 2026 · Updated July 29, 2026

To verify end-to-end encryption, you must confirm that the cryptographic keys used to lock and unlock your messages are exclusively held by the communicating parties, effectively rendering the service provider unable to access the content. By understanding how protocols like X3DH and the Double Ratchet work, you gain the ability to look past marketing claims and evaluate the actual security architecture of your messaging tools. This guide provides the technical context necessary to assess whether your communication platform truly protects your data from interception.

The Foundations of Secure Messaging: Why Encryption Matters

End-to-end encryption (E2EE) is a method of secure communication that prevents third parties from accessing data while it is transferred from one end system or device to another. According to the NIST Computer Security Resource Center, E2EE ensures that only the communicating users can read the messages. It is distinct from encryption in transit, which merely secures the connection between your device and a server; in transit encryption, the service provider still holds the keys and can technically decrypt your data on their servers.

For journalists, NGOs, and privacy-conscious teams, relying on simple transport security is insufficient. You need to understand the cryptographic primitives—the building blocks—that make E2EE possible. When you evaluate a service like Sendant, you are looking for an implementation that guarantees message content remains ciphertext from the moment it leaves your device until it reaches the recipient, ensuring that even if the server is compromised, the message history remains inaccessible.

X3DH Protocol Explained: Establishing Trust

The Extended Triple Diffie-Hellman (X3DH) protocol is the handshake mechanism used to establish a shared secret key between two parties who may not be online at the same time. This is critical for mobile-first messaging environments where devices frequently cycle between states of connectivity.

X3DH facilitates key agreement by utilizing a combination of long-term identity keys, ephemeral keys, and pre-keys. When a user creates an account, they upload a batch of "pre-keys" to the server. When you initiate a conversation, your device fetches these pre-keys to derive a master secret. Because this process happens asynchronously, you do not need to be online at the exact same moment as your recipient to start a secure, encrypted session.

This protocol ensures that the identity of the recipient is verified against their long-term key, preventing man-in-the-middle attacks where a malicious actor might try to intercept the key exchange. Sendant is built on X3DH and the Double Ratchet protocol—the same cryptographic primitives utilized by industry-standard secure messaging platforms—with a publicly documented architecture. Sendant’s security architecture is transparently documented, and while an independent third-party audit is in the planning stages, the implementation follows established cryptographic specifications.

What is the Double Ratchet Algorithm and Why It Provides Forward Secrecy

Once X3DH establishes the initial shared secret, the Double Ratchet algorithm takes over to manage the ongoing conversation. The "double" in the name refers to two distinct mechanisms: a Diffie-Hellman (DH) ratchet and a symmetric-key ratchet.

The symmetric-key ratchet updates the encryption keys for every single message sent, ensuring that if one key is compromised, it cannot be used to decrypt previous messages. This provides what is known as forward secrecy. The DH ratchet, meanwhile, provides "break-in recovery" (also known as future secrecy) by periodically injecting new entropy into the key stream. If an attacker manages to compromise a key at a specific point in time, the next DH ratchet update will effectively "heal" the session, locking the attacker out of future communications.

This approach has become the gold standard for modern private messengers because it balances high-speed performance with rigorous security requirements. It allows for a seamless user experience while maintaining a cryptographic wall that is incredibly difficult for adversaries to penetrate. By rotating keys frequently, the protocol limits the amount of data exposed in the unlikely event of a single key compromise.

How to Verify End-to-End Encryption in Your Daily Workflow

To verify end-to-end encryption in a real-world setting, you must move beyond the "encrypted" badge in the UI and engage in active identity verification. This is most commonly done through "safety numbers" or "cryptographic fingerprints," which are unique representations of the public keys exchanged during the X3DH handshake.

Step-by-Step Verification:

  1. Open a conversation with your contact.
  2. Navigate to the conversation settings or contact profile.
  3. Locate the "Safety Number," "Fingerprint," or "Verification Code."
  4. Meet your contact in person or use an out-of-band communication channel (like a voice call or a separate, verified encrypted channel) to compare the numbers.
  5. If the numbers match exactly, you have verified that the encryption keys are authentic and no interceptor is present.

It is important to understand that these verification tools have limitations. They only confirm the authenticity of the current key exchange; they cannot detect if the application itself contains hidden backdoors or malicious code. This is why relying on a service with a publicly documented architecture is a critical part of the verification process. You should feel comfortable knowing how your data is handled, even if you cannot manually inspect the proprietary source code.

Evaluating Messenger Security: Beyond the Marketing Claims

The messaging landscape is crowded with providers making bold claims about their security. As a sophisticated user, you must differentiate between transparency and marketing. While many apps claim to be "secure," few provide the technical documentation required to verify those claims. True security is not just about the presence of encryption, but about the implementation of protocols that minimize trust in the server.

Sendant prioritizes this transparency. We are clear about our current status: Sendant is built on X3DH and the Double Ratchet, with a publicly documented architecture available for review. We believe this level of honesty is essential for journalists and civil-society teams who require a realistic understanding of their security posture. By documenting our reliance on these specific, peer-reviewed cryptographic primitives, we allow users to make informed decisions based on established science rather than marketing rhetoric.

Common Pitfalls When Learning How to Verify End-to-End Encryption

A frequent error among users is conflating E2EE with total anonymity. Even with the strongest encryption, the fact that you are communicating—the "who, when, and where"—can sometimes be exposed through network metadata. While E2EE protects the content of your messages, it does not inherently mask the IP addresses or the timing of your communications from network observers or service providers.

Sendant’s servers are designed to see only ciphertext, ensuring that message content remains inaccessible to us. However, Sendant does not claim to hide network-level metadata such as IP addresses. We maintain this distinction because we believe in being transparent about what our infrastructure can and cannot do, rather than making unsupportable claims about network-level anonymity that could endanger high-risk users.

Operational Realities: Using Secure Messengers in Challenging Environments

Security is ineffective if the tool fails when you need it most. Many secure messengers struggle in environments with high latency, frequent disconnections, or heavy censorship. Sendant is engineered to handle these realities by optimizing for low-bandwidth environments.

Sendant maintains functionality over throttled, restricted, or intermittent networks. Messages can be queued for delivery via an offline mailbox, ensuring that communication remains reliable even when a direct connection is temporarily unavailable. This design choice ensures that, while we provide industry-leading encryption, we also prioritize the operational needs of journalists, aid workers, and activists who often operate in regions where connectivity is fragile. For further technical context on the importance of robust protocol design in restricted networks, consult resources like the Electronic Frontier Foundation’s analysis on metadata and secure communication. Source: Vertexaisearch Cloud Google source.

For those who need to access their messages across different environments, Sendant offers a persistent, full-featured browser client. You can use it as an encrypted messenger without installing an app, which is essential for users who cannot or do not want to install software on their workstations. As of 2026, Sendant’s web-based approach allows for secure communication on various platforms, including mobile browsers, providing a flexible alternative to native applications. For more information on the security of web-based cryptographic implementations, see the W3C Web Cryptography API documentation. Source: Vertexaisearch Cloud Google source.

Frequently Asked Questions

What is the difference between X3DH and the Double Ratchet algorithm?

X3DH is the "handshake" protocol used to initiate a secure connection between two parties, even if they aren't online simultaneously. The Double Ratchet algorithm is the "maintenance" protocol that runs throughout the conversation, updating keys for every message to ensure that even if a key is intercepted, future and past messages remain secure.

Can I verify the security of a messenger if the source code is not public?

While you cannot personally audit the source code, you can verify the security of a messenger by examining its cryptographic architecture and the standards it follows. Sendant is built on X3DH and the Double Ratchet, with a publicly documented architecture. By reviewing these specifications, experts can assess the security design without needing to inspect every line of code.

Does Sendant hide my IP address or network metadata?

Sendant's servers see only ciphertext (message content). Sendant does not claim to hide network-level metadata such as IP addresses. We believe in being transparent about what our infrastructure can and cannot do, rather than making unsupportable claims about network anonymity.

How do I perform a safety number verification in a private messenger?

Verification is performed by comparing a unique string of numbers (or a QR code) with your contact via an out-of-band channel, such as a phone call or a face-to-face meeting. If the numbers match, you have cryptographic proof that your connection is secure and your messages are only being read by the intended recipient.

Ready to experience secure communication? Learn more about Sendant's architecture at our security page or start messaging today.

Try Sendant now

Encrypted messaging with no phone number, no email, no install — open it in any browser.

Open the web appGet the Android app