As of version 4.6, major Telegram clients are using MTProto 2.0.This article describes the basic layer of the MTProto protocol version 2.0 (Cloud chats, server-client encryption). The principal differences from version 1.0 (described here for reference) are as follows:本文描述了MTProto协议2.0版(云聊天、服务器客户端加密)的基本层。与版本1.0(此处描述以供参考)的主要区别如下:
MTProto v.1.0 is deprecated and is currently being phased out.
Got questions about this setup? — Check out the Advanced FAQ!Note 1Each plaintext message to be encrypted in MTProto always contains the following data to be checked upon decryption in order to make the system robust against known problems with the components:
auth_key_id int64 | msg_key int128 | encrypted_data bytes |
salt int64 | session_id int64 | message_id int64 | seq_no int32 | message_data_length int32 | message_data bytes | padding12..1024 bytes |
auth_key_id = 0 int64 | message_id int64 | message_data_length int32 | message_data bytes |
欢迎光临 firemail (http://firemail.wang:8088/) | Powered by Discuz! X3 |