Home - adelaidecallie/Telegram-Encrypted-Chat-Bot GitHub Wiki

Telegram-Encrypted-Chat-Bot wiki home

Here we will introduce the skills of using this bot.

Quick tutorial

1 step

Before you send message to the bot, please click the /register button to register. Registration does not require any information like an email address or phone number, just automatically generate a unique encryption key for you in the background of the server.

For example: Open the telegram and search the @encrypte_chat_bot in the search bar.

Use the /start command or /help command to see the help information and display the keyboard.

Then, register and get the private key, keep it in a safe place.

2 step

After automatically generating the encryption key for you in the background, you can select the encryption method you want in the button below.

Now, you can send a message to test, then, the bot will return the encrypted message.

command what will this command do?
symmetric This is an abbreviation for symmetric key encryption, which means that bot encrypts and decrypt your information with the same key. This is mainly to prevent the reviewing organization from recording the previous group chat record as evidence. The encrypted information is displayed as an encrypted string in the group chat. You can set the key expiration time to one day or one hour. After the key expires, no one will know the content of the encrypted message.
asymmetric This is an abbreviation for asymmetric key encryption, simply put, the bot uses a different key to encrypt and decrypt information. The information after encryption can only be decrypted by one person you choose. Before you encrypt, you need to know the serial number of the person who needs to view the information in the system. You can ask him to give it to you in advance, or find out in the system (if he is also registered).

If you want to share information with anyone in the group, but don't want to be rummaged by later people to know what you are talking about at the time, the most convenient is to use the first option /symmetric , this option is also the default option.

If you don't know who you need to communicate with the group, he may not want to expose himself for security, but you know his serial number through some special channels, you can use this serial number to encrypt the information that only he can view.

command algorithm details
symmetric Encryption: Salsa20 stream cipher, Authentication: Poly1305 MAC
asymmetric Public key: Curve25519 high-speed elliptic curve cryptography

When you decide to use encryption and have registered it, send the message you want to encrypt to the bot, and the bot will return encrypted message. You just need to copy this message content and send it to a group you want to send.

The person who sees the information you sent in the group can forward this information directly to the bot, the bot will return the information after decryption, and you will keep a safe distance from the speech in the group.

3 step

If you want to delete all your data in the server, please use the command /destroy .