messages.DhConfig

class pyrogram.raw.types.messages.DhConfig

New set of configuring parameters.

Constructor of DhConfig.

Details:
  • Layer: 194

  • ID: 2C221EDD

Parameters:
  • g (int 32-bit) – New value prime, see Wikipedia

  • p (bytes) – New value primitive root, see Wikipedia

  • version (int 32-bit) – Version of set of parameters

  • random (bytes) – Random sequence of bytes of assigned length

Functions:

This object can be returned by 1 function.

messages.GetDhConfig

Returns configuration parameters for Diffie-Hellman key generation.