> For the complete documentation index, see [llms.txt](https://dmtp.gitbook.io/dmtp-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dmtp.gitbook.io/dmtp-docs/dmtp-system/encryption-and-decryption.md).

# Encryption & Decryption

In DMTP, there are four types of chat

* Peer to Peer (P2P) \
  Normal one-to-one chat&#x20;
* Public unlimited\
  The group is open and anyone can join the group
* Public limited\
  The group is open but only limited people can join
* Private group\
  The group is private and only invited people can join.

Since the contents that must be guaranteed differ according to the specifications of each chat, DMTP uses a different encryption design for each. Please check each section to see how each chat pattern is encrypted.

{% content-ref url="/pages/9f1R396AZJAHTT94HaNQ" %}
[Peer to Peer](/dmtp-docs/dmtp-system/encryption-and-decryption/peer-to-peer.md)
{% endcontent-ref %}

{% content-ref url="/pages/9q8aqy6L7AHfCFsgetCa" %}
[Public Unlimited](/dmtp-docs/dmtp-system/encryption-and-decryption/public-unlimited.md)
{% endcontent-ref %}

{% content-ref url="/pages/AI6PbdTJtkUBUthik9a8" %}
[Public Limited](/dmtp-docs/dmtp-system/encryption-and-decryption/public-limited.md)
{% endcontent-ref %}

{% content-ref url="/pages/Ttf2Nq7HSJNTIA5kzlBy" %}
[Private Group](/dmtp-docs/dmtp-system/encryption-and-decryption/private-group.md)
{% endcontent-ref %}
