Files
system-design-101/data/guides/is-telegram-secure.md
Kamran Ahmed ee4b7305a2 Adds ByteByteGo guides and links (#106)
This PR adds all the guides from [Visual
Guides](https://bytebytego.com/guides/) section on bytebytego to the
repository with proper links.

- [x] Markdown files for guides and categories are placed inside
`data/guides` and `data/categories`
- [x] Guide links in readme are auto-generated using
`scripts/readme.ts`. Everytime you run the script `npm run
update-readme`, it reads the categories and guides from the above
mentioned folders, generate production links for guides and categories
and populate the table of content in the readme. This ensures that any
future guides and categories will automatically get added to the readme.
- [x] Sorting inside the readme matches the actual category and guides
sorting on production
2025-03-31 22:16:44 -07:00

33 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Is Telegram Secure?
description: Exploring Telegram's security features and encryption methods.
image: 'https://assets.bytebytego.com/diagrams/0354-is-telegram-secure.jpg'
createdAt: '2024-02-15'
draft: false
categories:
- real-world-case-studies
tags:
- Security
- Encryption
---
![](https://assets.bytebytego.com/diagrams/0354-is-telegram-secure.jpg)
Lets first define what “secure” means. A “secure” chat in a messaging App generally means the message is encrypted at the sender side and is only decryptable at the receiver side. It is also called “E2EE” (end-to-end encryption).
𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦'𝐬 𝐮𝐬𝐮𝐚𝐥 𝐩𝐫𝐢𝐯𝐚𝐭𝐞 𝐚𝐧𝐝 𝐠𝐫𝐨𝐮𝐩 𝐜𝐡𝐚𝐭𝐬 𝐚𝐫𝐞𝐧'𝐭 𝐞𝐧𝐝-𝐭𝐨-𝐞𝐧𝐝 𝐞𝐧𝐜𝐫𝐲𝐩𝐭𝐞𝐝
It generally means third parties can intercept and read your messages. Telegram uses the following approach for security:
* The encrypted message is stored in Telegram servers, but split into several pieces and stored in different countries.
* The decryption keys are also split and saved in different countries.
This means the hacker needs to get message chunks and keys from all places. It is possible but extremely difficult.
𝐒𝐞𝐜𝐫𝐞𝐭 𝐜𝐡𝐚𝐭𝐬 𝐚𝐫𝐞 𝐞𝐧𝐝-𝐭𝐨-𝐞𝐧𝐝 𝐞𝐧𝐜𝐫𝐲𝐩𝐭𝐞𝐝
If you choose the “secret chat” option, it is end-to-end encrypted. It has several limitations:
* It doesnt support group chat or normal one-to-one chat.
* It is only enabled for mobile devices.