flyingfalo.blogg.se

Telegram secret chat
Telegram secret chat





User A executes messages.getDhConfig to obtain the Diffie-Hellman parameters: a prime p, and a high-order element g.Įxecuting this method before each new key generation procedure is of vital importance. Let us consider the following scenario: User A would like to initiate end-to-end encrypted communication with User B. Keys are generated using the Diffie-Hellman protocol.

telegram secret chat

See also: MTProto 2.0: Cloud Chats, server-client encryption Key Generation 12.1024 padding bytes are used instead of 0.15 padding bytes in v.1.0.

telegram secret chat

  • msg_key depends not only on the message to be encrypted, but on a portion of the secret chat key as well.
  • Padding bytes are involved in the computation of msg_key.
  • The principal differences from version 1.0 ( described here for reference) are as follows: This article describes the end-to-end encryption layer in the MTProto protocol version 2.0.







    Telegram secret chat