> For the complete documentation index, see [llms.txt](https://i-o-digital-foundation.gitbook.io/ioc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://i-o-digital-foundation.gitbook.io/ioc/send-encrypted-messages.md).

# Send Encrypted Messages

With the I/O Coin wallet you can chat with other people with AES-256 encryption and fully decentralized. Also, chatting happens directly on the I/O Coin blockchain without the use of unsecure smart contracts.

## So how does it work? <a href="#so-how-does-it-work" id="so-how-does-it-work"></a>

First, you and the person you want to chat with will need a public alias. You can read more about how to register an alias and how to decrypt it [here](/ioc/register-an-alias-dions.md). Now you will need to send an invitation to start chatting. To do that, go to **My RSA Keys** and find the DION you want to use to chat and click the green **Invite** button.

![](https://gblobscdn.gitbook.com/assets%2F-LxvhEh51NB3pjHXcc44%2F-LyJ91lDrTG5Iv17vfp6%2F-LyJAuoUW_TflESkfejy%2FHow%20to%20Send%C2%A0Messages%20-%20Screenshot%201.jpg?alt=media\&token=6ffd0563-df09-43fe-bbc0-93ace0022cb5)

Type in the DION of the other party and press **Enter**. After a few seconds the other person will receive the invitation under their **Invites** tab. After they click **Accept** an encrypted tunnel between both parties has been created and you can start chatting.

![](https://gblobscdn.gitbook.com/assets%2F-LxvhEh51NB3pjHXcc44%2F-LyJ91lDrTG5Iv17vfp6%2F-LyJAuoVdkqiFt-7cH66%2FHow%20to%20Send%C2%A0Messages%20-%20Screenshot%202.jpg?alt=media\&token=61073dc9-b73e-416b-be2c-6700941f1045)

Simply start chatting by going to your **Address Book**, click on the right contact and then click **Chat**.

![](https://gblobscdn.gitbook.com/assets%2F-LxvhEh51NB3pjHXcc44%2F-LyJ91lDrTG5Iv17vfp6%2F-LyJAuoWuOc7YIwW3bCq%2FHow%20to%20Send%C2%A0Messages%20-%20Screenshot%203.jpg?alt=media\&token=66500891-486e-4f59-9162-fae9f3b7e7b9)

Your friend will receive your message with the next block which is usually well within 60 seconds.

## Video Tutorial <a href="#video-tutorial" id="video-tutorial"></a>

Below video also shows how to use encrypted chat on the I/O Coin blockchain using the HTML5 wallet.

{% embed url="<https://youtu.be/X7Kl_AHBGyc>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://i-o-digital-foundation.gitbook.io/ioc/send-encrypted-messages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
