DhConfig

class pyrogram.raw.types.messages.DhConfig

New set of configuring parameters.

Constructor type of DhConfig.

Details
  • Layer: 126

  • ID: 0x2c221edd

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

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

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

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

Methods

This object can be returned by 1 method:

messages.GetDhConfig

Returns configuration parameters for Diffie-Hellman key generation.