# End-to-end Encryption

Polygene's chat feature is designed to provide users with a high level of privacy and security through end-to-end encryption. This feature ensures that messages are encrypted on the sender's device and can only be decrypted by the intended recipient, making it impossible for third parties to intercept or eavesdrop on user communications.

## How it Works

When a user sends a message, the message is encrypted on their device using a unique key. The encrypted message is then transmitted to the recipient's device, where it is decrypted using the same key. This ensures that only the sender and recipient can access the message, even if it is intercepted during transmission.

<figure><img src="/files/KhD2a3Zkf8xLCXFB44Fa" alt=""><figcaption></figcaption></figure>

## Benefits

End-to-end encryption provides several benefits to users, including:

* **Privacy**: Users can communicate with each other without the fear of their messages being intercepted or read by unauthorized parties.
* **Security**: End-to-end encryption ensures that messages are transmitted and stored securely, making it difficult for hackers or other malicious actors to gain access to user communications.
* **Trust**: By providing a high level of privacy and security, Polygene's chat feature helps build trust between users, encouraging them to share sensitive information and build meaningful relationships.

Overall, end-to-end encryption is a crucial feature for ensuring the privacy and security of user communications on the Polygene platform.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://polygene.gitbook.io/polygene-whitepaper/social-chat-features/functions/end-to-end-encryption.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
